~/talk

Pandas from the Inside

Talkat PyData DC 2016 · 2016-10-07..10-09· [python, data-visualization]
links:none on file
slides:none on file

Slides and code dig into pandas internals using numpy arrays and real AFL game data and build a season ladder that matches the AFL website. Concrete claims include microbenchmarks: Python sum ~10 ms vs numpy sum ~1.2 ms and calling Python sum on a numpy array ~15× slower; column access: .values ~35 ms vs two-column frame ~0.5 ms vs single Series ~2 µs. Key mechanisms are block manager, take indexing, and cached series plus groupby/concat tradeoffs.

AI-written summary · about

  1. 0:00Introduction
  2. 4:59Python lists vs NumPy arrays
  3. 15:42NumPy indexing deep dive
  4. 22:15Pandas structure overview
  5. 26:14Pandas internals overview
  6. 30:35Loading AFL football data
  7. 37:53Rebuilding AFL Premiership ladder
  8. 54:19Reformatting columns and indexes
  9. 1:02:21Multi-index operations
  10. 1:07:05Efficient row selection
  11. 1:11:03Calculated columns and warnings
  12. 1:16:22GroupBy aggregation tips
  13. 1:18:30Final results and key takeaways
~/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.