Creating "rules in memory" with generator expressions

Опубликовано: 19 Февраль 2026
на канале: Alexander Hess - Pythonista
216
8

In this video, I introduce the generator data type. In spirit, it is related to the map and filter types created with the map() and filter() built-ins. We see how we should think of generators as flexible "rules in memory" that allow processing big amounts of (sequential) data on a one-by-one basis without needing a significant amount of memory.

PYTHON BOOK
The lecture is based on the free book "Introduction to Python & Programming".
Get it on GitHub: https://github.com/webartifex/intro-t...

SUBSCRIBE
If you like the way I teach and talk about programming and data science, subscribe to this channel.
The videos focus on coding courses and tutorials aimed at managers and students of business administration, enabling them to make better decisions with analyses done in code.

INSTRUCTOR
Alexander Hess, PhD Student
WHU - Otto Beisheim School of Management, Vallendar, Germany

CONTACT
GitHub: https://github.com/webartifex
LinkedIn:   / webartifex  
XING: https://xing.to/webartifex
Facebook:   / webartifex  
Instagram:   / webartifex  
Website: http://www.webartifex.biz
YouTube:    / webartifex  

wa-vid-073