The Real Python Podcast

Harnessing the Power of Python Polars

59 snips
Aug 8, 2025
Jeroen Janssens and Thijs Nieuwdorp, authors of 'Python Polars: The Definitive Guide', share their journey with Polars, a powerful DataFrame library for Python. They discuss its advantages over pandas, the significant speed improvements they've encountered, and the transition from R to Python. The duo elaborates on the differences between lazy and eager APIs, offering practical tips for users. Their insights on collaborative writing highlight the importance of community in technical literature and learning, making this a fascinating listen for data enthusiasts.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
INSIGHT

Polars Feels More Ergonomic And Predictable

  • Jeroen says Polars avoids in-place surprises and implicit dtype conversions, making code easier to reason about.
  • The explicit, declarative API reduces debugging time and unexpected behavior during ETL.
ANECDOTE

Coauthoring Made The Book Feasible

  • Jeroen and Thijs split the book work to stay motivated and balance strengths over two years.
  • Collaboration helped them cover tedious but necessary chapters and keep the book's voice consistent.
INSIGHT

Expressions Build Series From Operation Trees

  • Jeroen defines a Polars expression as a tree of operations that constructs one or more series.
  • The authors expanded this single chapter into three chapters to explain expression design and usage deeply.
Get the Snipd Podcast app to discover more snips from this episode
Get the app