Usage

Pandas

Pandas: Memory Usage Reduction

Pandas defaults to memory-hungry data types. Load a CSV with a million rows, and Pandas will happily allocate 64-bit integers for columns that only contain values 0-10, and store repeated strings…

Read more →
Linux

Linux Disk Usage: df, du, and ncdu

Running out of disk space in production isn’t just inconvenient—it’s catastrophic. Applications crash, databases corrupt, logs stop writing, and deployments fail. I’ve seen a full /var partition…

Read more →