~/talk

An Introduction to Polars

Talkat PyData NYC 2024 · 2024-11-06..11-08· [python, data-visualization]
slides:none on file

Compares Pandas and Polars by showing concrete moves: loads a Strava GPX, casts elapsed seconds down to int16 (fails at int8), converts timestamps to Mountain time, and spots a one‑minute flatline that matches the crash — a surprising, actionable result. Demonstrates chaining into a reusable cleaning function, lazy frames that push projection/filtering into the reader, and GPU runs (NVIDIA backend) that yield about 10× speedups; warns that map_elements is ~20× slower than native expressions. Highlights Polars implementation in Rust, Arrow zero-copy, and lazy frames.

AI-written summary · about

  1. 0:00Introduction
  2. 10:25Why Polars vs pandas
  3. 21:31Loading Strava data
  4. 30:06Polars code best practices
  5. 46:20Handling strings dates missing
  6. 1:08:29Aggregations and visualizations
  7. 1:17:58Q&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.