~/talk

DataFrames: scaling up and out

Talkat PyData Amsterdam 2018 · 2018-05-25..05-27· [data-visualization, databases]
links:none on file
slides:none on file

Pandas works in memory so the checklist is: avoid per-row Python loops and use vectorized ops to get 100x speedups; load only needed columns, use chunking or sampling, and cast strings to categoricals to reduce memory. Options scale from buying bigger machines (workstation with terabyte of RAM), to VPSes (DigitalOcean / AWS Lightsail ~ $20/mo) with SSH tunneling and S3 for storage, to query‑backends like Athena/Presto ($5 per TB processed), or horizontally with Dask/Spark (pip install pyspark) for true distributed compute.

AI-written summary · about

  1. 0:00Scaling DataFrames
  2. 1:05Why developers love DataFrames
  3. 3:55Scaling challenges
  4. 5:19Optimizing pandas
  5. 8:08When to avoid pandas
  6. 10:40Streaming alternatives
  7. 11:22Scaling up machines
  8. 12:03Remote scaling with VPS
  9. 18:29Scaling the data source
  10. 21:17Cloud analytics engines
  11. 23:25Spark and Dask
  12. 27:40Trade-offs in distributed solutions
  13. 30:07Summary
~/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.