1. Learn
  2. /
  3. 课程
  4. /
  5. Scaling and Optimizing Data Pipelines with Polars

Connected

道练习

Processing query results in batches

The team wants to push digital checkout rows to a downstream system in chunks rather than collect one huge DataFrame. Iterate through 5,000-row batches and capture a small summary of each.

A LazyFrame digital_rows with the filtered digital checkouts is preloaded.

说明

100 XP
  • Iterate through digital_rows in batches of 5,000 rows on the streaming engine.