Loading tutorials
pl.col, filter, and group_by. You should also know that CSV and Parquet are common file formats for tabular data.3 min readpl.col, filter, with_columns, group_by). It also assumes you have used a DataFrame to filter and aggregate rows. The previous chapter showed that loading a large file all at once can exhaust memory. Here you change how a pipe2 min readpl.col, filter, with_columns, group_by), and the difference between CSV and Parquet. It covers scan_csv and scan_parquet, which are the entry point for every larger-than-memory query in the rest of the tutorial.3 min readpl.col, filter, select). It also assumes you have met lazy queries and scan_parquet. Here you will learn to read the plan Polars builds for a lazy query, so you can check what the query will do before it runs.2 min readpl.col, filter, select) and have seen scan_parquet and explain() from the earlier chapters. Here you will see how the query optimizer moves work down to the file scan, and how to confirm that it did.3 min readpl.col, filter, group_by), and the difference between a DataFrame and a LazyFrame. You should also have seen scan_parquet and explain from earlier chapters.3 min readpl.col, filter, group_by) and know how scan_parquet creates a lazy query. It needs a recent Polars release that supports engine="streaming".2 min readscan_csv, scan_parquet, and collect(engine="streaming") from earlier chapters.2 min readscan_csv, scan_parquet, and query plans from earlier chapters. Here you will learn how the format and layout of your input files change what the streaming engine can skip, and how 3 min readcollect(engine="streaming"), and read a query plan. The streaming engine processes data in chunks, but some operations must remember state across chunks. That state is what uses memory.3 min readscan_parquet, and collect(engine="streaming"). It covers how to keep the output small, or to avoid holding it in memory at all.2 min readscan_parquet, filter, and group_by. It also assumes you have run one with collect(engine="streaming"). Here you learn what happens when a query contains an operation the streaming engine cannot run in chunks.2 min readcollect(engine="streaming") or a sink. It covers how to measure memory, find the step that uses it, and reduce it.2 min readcollect(engine="streaming"), and read the output of explain(). It covers the cases where streaming does not solve your problem, and what to do instead.3 min read