What is a generator pipeline?
Generators and yield
Audio flashcard · 0:15Nortren·
What is a generator pipeline?
0:15
A generator pipeline is a chain of generators where each consumes the output of the previous. Each stage processes one item at a time without holding the entire dataset in memory. Pipelines are a powerful way to express data transformations clearly while maintaining low memory use.
---
docs.python.org