~/talk

Beyond Pandas: lightning fast in-memory dataframes with Polars

Talkat PyCon Italia 2023 · 2023-05-25..05-28· [data-science]
links:none on file
slides:none on file

Benchmarks claim Polars runs typical groupby and join workloads 13-16x faster than Pandas (DuckDB/DB‑Benchmark), using a Rust + Arrow engine; lazy querying via scan_csv/lazy collect enables predicate and projection pushdown and streaming larger‑than‑RAM pipelines so a 20 GB CSV (≈90M rows) produces results on a 32 GB machine that Pandas cannot. Integration uses Arrow for zero-copy with Pandas 2.0, and approximate cardinality and sinks to Parquet handle huge outputs.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 3:12Pandas and Spark limitations
  3. 7:46Alternatives to Pandas overview
  4. 11:57Polars introduction and growth
  5. 13:40Polars performance features
  6. 16:29Lazy evaluation in Polars
  7. 19:19Using Polars in production
  8. 20:22Personal benchmark results
  9. 23:28Polars current limitations
  10. 24:54Why switch to Polars
  11. 25:35Q&A session
~/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.