Python Tutorial - Itertools Module: Iterator Functions for Efficient Looping
Corey Schafer via YouTube
AI, Data Science & Cloud Certificates from Google, IBM & Meta
PowerBI Data Analyst - Create visualizations and dashboards from scratch
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Explore the itertools module in Python through this comprehensive 46-minute tutorial. Learn about efficient iterator functions for improved looping and memory management. Dive into 17 key functions including count, zip_longest, cycle, repeat, starmap, combinations, permutations, product, chain, islice, compress, filterfalse, dropwhile, takewhile, accumulate, groupby, and tee. Follow along with time-stamped explanations and practical examples to enhance your Python programming skills. Access accompanying code snippets on GitHub and connect with additional resources on iterators and sorting. Support the creator through various donation options and explore recommended equipment and books for further learning.
Syllabus
count - .
zip_longest - .
cycle - .
repeat - .
starmap - .
combinations - .
permutations - .
product - .
chain - .
islice - .
compress - .
filterfalse - .
dropwhile - .
takewhile - .
accumulate - .
groupby - .
tee - .
Taught by
Corey Schafer