~/talk

Don’t Write Polars Code with a Pandas Accent

Talkat PyCon US 2026 · 2026-05-13..05-19· [data-visualization]
links:none on file
slides:none on file

Shows concrete fixes: replace bracket selection with select and pl.col, prefer expressions and chaining over intermediate DataFrames, and use lazy frames so the optimizer does predicate and projection pushdown. Demonstrates a real speed change 31.3 ms vs 17.3 ms, uses tools like pl.sum_horizontal and selectors to add columns horizontally, and shows lazy workflows ending with lazy.collect. Provides runnable code patterns and a measurable before/after, not vague examples.

AI-written summary · about

  1. 0:00Polars introduction
  2. 1:30Pandas accent mistakes
  3. 3:58Column selection mistake
  4. 5:45Overusing intermediate vars
  5. 10:43Chaining improves performance
  6. 11:46Eager execution mistake
  7. 15:35Horizontal column addition mistake
  8. 18:21Using drop vs exclude
  9. 19:23Idiomatic Polars recap
  10. 20:06Polars quiz
  11. 21:53Q&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.