~/talk

Idiomatic Pandas

slides:none on file

Five concrete Pandas practices produce big wins: enforce correct dtypes and convert wide integers to smaller numpy types (example converting columns to int8 conversion and unsigned types), convert low‑cardinality strings to category to drop memory from ~19 MB to about memory down to 6 MB, prefer chained, pipeable operations and avoid inplace mutation, avoid apply for numeric work because vectorized ops give ~40x speedup, and use groupby/agg/unstack and rolling means for fast, expressive summaries and plots.

AI-written summary · about

  1. 0:00Introduction
  2. 3:40Types
  3. 6:35Integers
  4. 10:30Float
  5. 11:27Missing Values
  6. 12:15Handling Missing Values
  7. 13:47Memory Usage
  8. 15:11Convert Drive to Category
  9. 18:25Chaining
  10. 21:33Dont Mutation
  11. 23:04Dont Use Apply
  12. 25:07Exceptions
  13. 27:11Aggregation
  14. 28:57Plotting
  15. 30:18Multiindex
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.