What do I need to know about the pandas index? (Part 1)

Data School
Data School
134 هزار بار بازدید - 8 سال پیش - The DataFrame index is core
The DataFrame index is core to the functionality of pandas, yet it's confusing to many users. In this video, I'll explain what the index is used for and why you might want to store your data in the index. I'll also demonstrate how to set and reset the index, and show how that affects the DataFrame's shape and contents.

SUBSCRIBE to learn data science with Python:
https://www.youtube.com/dataschool?su...

JOIN the "Data School Insiders" community and receive exclusive rewards:
Patreon: dataschool

== RESOURCES ==
GitHub repository for the series: https://github.com/justmarkham/pandas...
"loc" documentation: http://pandas.pydata.org/pandas-docs/...
"set_index" documentation: http://pandas.pydata.org/pandas-docs/...
"reset_index" documentation: http://pandas.pydata.org/pandas-docs/...
Indexing and selecting data: http://pandas.pydata.org/pandas-docs/...

== LET'S CONNECT! ==
Newsletter: https://www.dataschool.io/subscribe/
Twitter: Twitter: justmarkham
Facebook: Facebook: DataScienceSchool
LinkedIn: LinkedIn: justmarkham
8 سال پیش در تاریخ 1395/03/11 منتشر شده است.
134,015 بـار بازدید شده
... بیشتر