Iterators, Iterables, and Itertools in Python

For-loops in Python do a lot of work for you.

By learning how iteration works, you will be able to add iteration to your own classes and create custom iterable objects. Python also gives you an “itertools” module which contains a lot of convenience functions to save you time and streamline your code.

Frank

#DataScientist, #DataEngineer, Blogger, Vlogger, Podcaster at http://DataDriven.tv . Back @Microsoft to help customers leverage #AI Opinions mine. #武當派 fan. I blog to help you become a better data scientist/ML engineer Opinions are mine. All mine.