Polars 2 · Lazy queries and files

See the query plan

Print the optimized plan of a lazy query.

print(lazy.filter(pl.col("amount") > 100).explain())

Official Polars 2 documentation

More lazy queries and files commands

All lazy queries and files commands · Polars 2 cheatsheet

Was this page helpful?