~/talk

Pandas + Dask DataFrame 2.0 - Comparison to Spark, DuckDB and Polars

Talkat PyCon US 2024 · 2024-05-15..05-23· [python, databases, web-performance]
slides:none on file

Dask integrates pandas 2.0, Arrow strings and a rewritten P2P shuffle plus a lightweight logical query planning layer. Benchmarks use TPC-H at 100 GB / 1 TB / 10 TB: Arrow strings cut memory from ~220 GB to ~90 GB and speed string ops up to 10x; partition squashing and planner yields a 19x speedup on a dumb query; on 100 GB DuckDB often wins, on 1–10 TB Dask is competitive and beats Spark on many queries, while DuckDB excels if data fits one node; some queries still hit memory/time failures.

AI-written summary · about

  1. 0:00Talk introduction
  2. 0:46Why Dask DataFrame 2.0 is fast
  3. 3:15Arrow strings for memory
  4. 5:00Shuffle algorithms improved
  5. 7:26Query planning in Dask
  6. 10:35Partition sizes optimized
  7. 12:20Reducing merge shuffles
  8. 14:10Summary of improvements
  9. 15:35Benchmark setup
  10. 17:44TPC-H 100 GB results
  11. 18:48Dask vs DuckDB on 1 TB and 10 TB benchmarks
  12. 21:58Dask vs Spark benchmarks
  13. 25:07Benchmark takeaways
  14. 26:09Future Dask improvements
  15. 27:17Q&A
~/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.