“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/p...
Helpful links:
pandas.DataFrame.groupby(): https://pandas.pydata.org/pandas-docs...
An Opinionated Guide to pandas — Intro and Environment Setup: • Installing Pandas
An Opinionate Guide to pandas – Intro to Data Structures: Series: • Series - Pandas
An Opinionate Guide to pandas – Intro to Data Structures: DataFrames: • Series - Pandas
An Opinionate Guide to pandas – Intro to Data Structures P3: • DataFrame Functions - Pandas
An Opinionated Guide to pandas — Indexing and Selecting: • Indexing and Selecting - Pandas
Link to GitHub repo including environment setup for tutorials: https://github.com/knathanieltucker/p...
Link to GitHub Intro To Data Structures Jupyter Notebook: https://github.com/knathanieltucker/p...
PEP 20 – The Zen of Python link: https://www.python.org/dev/peps/pep-0...
Смотрите видео Group By - Pandas онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Data Talks 06 Октябрь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 13,882 раз и оно понравилось 259 людям.