What do I need to know about the pandas index? (Part 1)
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?sub_confirmation=1
JOIN the "Data School Insiders" community and receive exclusive rewards:
https://www.patreon.com/dataschool
== RESOURCES ==
GitHub repository for the series: https://github.com/justmarkham/pandas-videos
"loc" documentation: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.loc.html
"set_index" documentation: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.set_index.html
"reset_index" documentation: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.reset_index.html
Indexing and selecting data: http://pandas.pydata.org/pandas-docs/stable/indexing.html
== LET'S CONNECT! ==
Newsletter: https://www.dataschool.io/subscribe/
Twitter: https://twitter.com/justmarkham
Facebook: https://www.facebook.com/DataScienceSchool/
LinkedIn: https://www.linkedin.com/in/justmarkham/
Видео What do I need to know about the pandas index? (Part 1) канала Data School
SUBSCRIBE to learn data science with Python:
https://www.youtube.com/dataschool?sub_confirmation=1
JOIN the "Data School Insiders" community and receive exclusive rewards:
https://www.patreon.com/dataschool
== RESOURCES ==
GitHub repository for the series: https://github.com/justmarkham/pandas-videos
"loc" documentation: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.loc.html
"set_index" documentation: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.set_index.html
"reset_index" documentation: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.reset_index.html
Indexing and selecting data: http://pandas.pydata.org/pandas-docs/stable/indexing.html
== LET'S CONNECT! ==
Newsletter: https://www.dataschool.io/subscribe/
Twitter: https://twitter.com/justmarkham
Facebook: https://www.facebook.com/DataScienceSchool/
LinkedIn: https://www.linkedin.com/in/justmarkham/
Видео What do I need to know about the pandas index? (Part 1) канала Data School
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
What do I need to know about the pandas index? (Part 2)8 - Pandas' Groupby and pd.Grouper explained | Comprehensive Pandas Tutorial for BeginnersRead from Excel Files using Python 3 (xlrd) | Automate Excel #1Categorical Variable Encoding Using ( One Hot Encoder & Pandas get_dummies() Function)How do I work with dates and times in pandas?How do I find and remove duplicate rows in pandas?How do I apply a function to a pandas Series or DataFrame?Build A Movie Recommendation Engine Using PythonPython Pandas Tutorial (Part 3): Indexes - How to Set, Reset, and Use IndexesShuffle your dataset when using cross_val_scoreData Analytics in Soccer | Chalk Talk | 09.03.17How do I use the MultiIndex in pandas?Complete Python Pandas Data Science Tutorial! (Reading CSV/Excel files, Sorting, Filtering, Groupby)How do I filter rows of a pandas DataFrame by column value?How do I apply multiple filter criteria to a pandas DataFrame?Data Analysis with Python - Full Course for Beginners (Numpy, Pandas, Matplotlib, Seaborn)When should I use a "groupby" in pandas?How do I explore a pandas Series?