~/talk

Power up your Polars code with Polars extention

Talkat PyCon DE & PyData 2025 · on Wednesday, 2025-04-23· at 11:45· Dynamicum· [python, rust]
slides:none on file

Shows how to replace Python apply calls by writing Polars extensions in Rust using PyO3 and Maturin to register custom Polars expressions, implement element‑wise and whole‑column logic, and handle strings, multi‑column inputs and dynamic output type dispatch. Demonstrates building a plugin (cargo/pyproject names must match), handling lifetimes/clone for strings, and measurable speedups once datasets exceed ~1 million rows; workshop compiles and runs but notes version and Windows toolchain pitfalls.

AI-written summary · about

  1. 0:00Welcome
  2. 1:12Polars plugins setup
  3. 6:58Project structure
  4. 13:20Rust expression logic
  5. 20:37Build and test plugin
  6. 37:24Break troubleshooting
  7. 40:43Celsius to Fahrenheit
  8. 45:33Largest value inputs
  9. 54:29Multiple data types
  10. 1:01:25String manipulation
  11. 1:08:20User input in expressions
  12. 1:12:21Resources closing
~/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.