finds.dev← search

// the find

chiphuyen/just-pandas-things

★ 996 · Jupyter Notebook · updated May 2023

An ongoing list of pandas quirks

A Jupyter notebook documenting pandas gotchas and non-obvious behavior from Chip Huyen (ML Systems Design author). Covers things like column-major layout implications, SettingWithCopyWarning, and indexing foot-guns. Not a tutorial — assumes you already know pandas basics.

Chip Huyen is credible and this is practical, battle-tested knowledge rather than docs regurgitation. The SettingWithCopyWarning section alone has saved countless hours of debugging for people who didn't know why their mutation silently did nothing. Column-major explanation is the kind of thing that makes row-iteration patterns suddenly make sense.

Last updated 2023, and pandas 2.0 changed the copy-on-write behavior that underpins most of the SettingWithCopyWarning material — some of this is now outdated or outright wrong in modern pandas. At under 1000 stars and a single notebook, this is a blog post in a repo, not a maintained reference. No tests, no structure — if you want the content without the notebook, you're copying by hand.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →