itertools
itertools — Functions creating
iterator
s for efficient
loop
ing
https://docs.python.org/3/library/itertools.html
Example
MetPy Mondays
`#171 - Using Count and Cycle from Itertools : Unidata Developer's Blog
https://www.unidata.ucar.edu/blogs/developer/entry/metpy-mondays-171-using-count
count, cycle
`#172 - Making Combinations with Itertools : Unidata Developer's Blog
https://www.unidata.ucar.edu/blogs/developer/en/entry/metpy-mondays-172-making-combinations
permutation
s, combinations_with_replacement,
combination
s
Tips
All You Need to Know About the Python Itertools Module
4 Python Itertools Filter Functions You Probably Didn’t Know - KDnuggets
Exploring Infinite Iterators in Python’s itertools - KDnuggets