Python in many ways has made our life easier when it comes to programming.
With its many libraries and functionalities, sometimes we forget to focus on some of the useful things it offers.
One of such functionalities are generators and generator expressions. I stalled learning about them for a long time but they are useful.
Have you ever encountered yield
in Python code and didn’t knew what it meant? or what does an iterator
or a generator
means and why we use it? Or have you used ImageDataGenerator
while working with Keras and didn’t understand what is going at the backend? Then this post is for you.
In this series of posts named Python Shorts , I will explain some simple constructs provided by Python, some essential tips and some use cases I come up with regularly in my Data Science work.
This post is about explaining some of the difficult concepts in an easy to understand way.
Keep reading with a 7-day free trial
Subscribe to MLWhiz | AI Unwrapped to keep reading this post and get 7 days of free access to the full post archives.