~/talk

Polars; DataFrames in the multi-core era

Talkat PyData NYC 2023 · 2023-11-01..11-03· [rust, databases]
slides:none on file

Polars is an OLAP DataFrame engine written in Rust that targets modern hardware with cache‑aware data structures, lazy evaluation and a work‑stealing thread pool for effective parallelism. The optimizer removes duplicate computation (common‑subexpression elimination) and reports a 4.5× speedup on an example query. Polars Expressions compile to fast, vectorized operators so Python UDFs that take ~23 s become native expression pipelines, and a Rust plugins example turns a 23 s Python Pig Latin converter into ~2.5 s native code.

AI-written summary · about

  1. 0:00Polars introduction
  2. 3:23Polars Expressions basics
  3. 7:15Why Expressions transform
  4. 10:53Performance benefits
  5. 13:24Query optimization
  6. 16:23Work-stealing parallelism
  7. 21:51Performance guarantees
  8. 23:40Polars plugins
  9. 27:56Pig Latin plugin
  10. 32:08Hybrid out-of-core
  11. 41:14Closing remarks
~/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.