Stack, Unstack, Melt, Pivot - Pandas
“There should be one—and preferably only one—obvious way to do it,” — Zen of Python. I certainly wish that were the case with pandas. In reading the docs it feels like there are a thousand ways to do each operation. And it is hard to tell if they do the exact same thing or which one you should use. That's why I made An Opinionated Guide to pandas—to present you one consistent (and a bit opinionated) way of doing data science with pandas and cut out all the confusion and cruft.
I'll talk about which methods I use, why I use them and most importantly tell you the stuff that I've never touched in my years of data science practice. If this sounds helpful to you then please watch and provide feedback in your comments.
This series is beginner-friendly but aimed most directly at intermediate users.
“Opinionated Guide – Group Operations” contents:
https://github.com/knathanieltucker/pandas-tutorial/blob/master/notebooks/Row-Column%20Transformations.ipynb
Helpful links:
pandas stack/unstack: https://pandas.pydata.org/pandas-docs/stable/user_guide/reshaping.html
An Opinionated Guide to pandas — Intro and Environment Setup: https://youtu.be/S0RPvghGmlQ
An Opinionate Guide to pandas – Intro to Data Structures: Series: https://youtu.be/HKVsVksViXo
An Opinionate Guide to pandas – Intro to Data Structures: DataFrames: https://youtu.be/HKVsVksViXo
An Opinionate Guide to pandas – Intro to Data Structures P3: https://youtu.be/Z6RU_MFjevU
An Opinionated Guide to pandas — Indexing and Selecting: https://youtu.be/Pau9An-fQZk
Categorical Encodings: https://www.youtube.com/watch?v=WRxHfnl-Pcs&t=11s
Link to GitHub repo including environment setup for tutorials: https://github.com/knathanieltucker/pandas-tutorial
Link to GitHub Intro To Data Structures Jupyter Notebook: https://github.com/knathanieltucker/pandas-tutorial/blob/master/notebooks/Pandas%20Intro%20to%20Data%20Structures.ipynb
PEP 20 – The Zen of Python link: https://www.python.org/dev/peps/pep-0020/
Видео Stack, Unstack, Melt, Pivot - Pandas канала Data Talks
I'll talk about which methods I use, why I use them and most importantly tell you the stuff that I've never touched in my years of data science practice. If this sounds helpful to you then please watch and provide feedback in your comments.
This series is beginner-friendly but aimed most directly at intermediate users.
“Opinionated Guide – Group Operations” contents:
https://github.com/knathanieltucker/pandas-tutorial/blob/master/notebooks/Row-Column%20Transformations.ipynb
Helpful links:
pandas stack/unstack: https://pandas.pydata.org/pandas-docs/stable/user_guide/reshaping.html
An Opinionated Guide to pandas — Intro and Environment Setup: https://youtu.be/S0RPvghGmlQ
An Opinionate Guide to pandas – Intro to Data Structures: Series: https://youtu.be/HKVsVksViXo
An Opinionate Guide to pandas – Intro to Data Structures: DataFrames: https://youtu.be/HKVsVksViXo
An Opinionate Guide to pandas – Intro to Data Structures P3: https://youtu.be/Z6RU_MFjevU
An Opinionated Guide to pandas — Indexing and Selecting: https://youtu.be/Pau9An-fQZk
Categorical Encodings: https://www.youtube.com/watch?v=WRxHfnl-Pcs&t=11s
Link to GitHub repo including environment setup for tutorials: https://github.com/knathanieltucker/pandas-tutorial
Link to GitHub Intro To Data Structures Jupyter Notebook: https://github.com/knathanieltucker/pandas-tutorial/blob/master/notebooks/Pandas%20Intro%20to%20Data%20Structures.ipynb
PEP 20 – The Zen of Python link: https://www.python.org/dev/peps/pep-0020/
Видео Stack, Unstack, Melt, Pivot - Pandas канала Data Talks
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Day in the Life of a Data Analyst - SurveyMonkey Data TransformationAdvanced Use of groupby(), aggregate, filter, transform, apply - Beginner Python Pandas Tutorial #5How do I use the MultiIndex in pandas?Solving real world data science tasks with Python Pandas!Python Pivot Tables Tutorial | Create Pandas Pivot Tables | Python Tutorial | Examples, SubtotalsPandas Melt | pd.melt() | df.melt()Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your DataDaniel Chen: Cleaning and Tidying Data in Pandas | PyData DC 2018Excel Pivot Table Tutorial for BeginnersHow do I select multiple rows and columns from a pandas DataFrame?Need To Know Functions - PandasPython Pandas - Melt, Stack, UnstackMy top 25 pandas tricksPython Pandas Tutorial 11. Reshape dataframe using meltPandas MultiIndex Tutorial and Best PracticesPython pandas—Grouping Exercise—Alcohol ConsumptionImporting a Pandas Dataframe to a Database in Python [For Your Data Science Project]Merge, Join, Append, Concat - PandasPython Pandas Tutorial 10. Pivot table