Jeroen Janssens and I joined the Real Python Podcast to talk about the practical side of using Polars: how to think about the API, when to go lazy, and what to watch out for when migrating from Pandas.
Topics covered:
- Lazy vs eager API: When to use each and how the Lazy API enables query optimization.
- Converting from Pandas: Common patterns and gotchas when migrating existing code.
- Consistent syntax: How Polars expressions reduce the number of ways to do the same thing.
- Index-free design: Why Polars has no row index and why that simplifies things.
- Performance tips: Practical advice for getting the most out of Polars in real projects.
- The book: What readers will find in Python Polars: the Definitive Guide and who it is for.