chiphuyen/just-pandas-things
An ongoing list of pandas quirks
repo name | chiphuyen/just-pandas-things |
repo link | https://github.com/chiphuyen/just-pandas-things |
homepage | |
language | Jupyter Notebook |
size (curr.) | 3842 kB |
stars (curr.) | 465 |
created | 2020-06-29 |
license | |
just-pandas-things
This repo contains a few peculiar things I’ve learned about pandas that have made my life easier and my code faster. This post isn’t a friendly tutorial for beginners, but a friendly introduction to pandas weirdness.
What’s in this repo?
- pandas is column-major, which is why row-based operations are slow
SettingWithCopyWarning
, or why we can’t have nice things- Indexing and slicing
- Accessors
- Data exploration
- Common pitfalls
I’ll continue updating this repo as I have more time. As I’m still learning pandas quirks, feedback is much appreciated.
Thanks Luke Metz, Vikram Tiwari, and Karson Elmgren for reviewing!