The Real Python Podcast cover image

Speeding Up Your DataFrames With Polars

The Real Python Podcast

00:00

Query Optimizer: Eager Mode vs Lazy Mode

There are modes that allow you to either I don't know, I guess it's easiest just to name them eager mode versus lazy mode. So in eager mode is you imagine you've got five lines of code. The second one say converts a timestamp into a date and then the third one takes a group by of the of the date and gets the daily average. If you work in lazy mode instead of just doing in pullers or read TSP you do what's called a scan CSP. Scan says hey ballers don't actually read this file just kind of start one of these query graphs That starts with reading the CSV file and thenYou do the transformation and then you do the group

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app