Polars 2 · Lazy queries and files
Process data larger than memory
Collect with the streaming engine so data is handled in batches.
pl.scan_csv("huge.csv").group_by("id").len().collect(engine="streaming")
Official Polars 2 documentation
Polars 2 · Lazy queries and files
Collect with the streaming engine so data is handled in batches.
pl.scan_csv("huge.csv").group_by("id").len().collect(engine="streaming")
Official Polars 2 documentation
Was this page helpful?