Tag: sequence

  • What is enumerate in Python

    The enumerate in Python is a built-in function. It takes an iterable object. And returns an iterator that produces tuples. The iterable object could be a list, tuple, or string. Moreover, it contains the index and the value of each element of the object. Here’s an example. Here we can use enumerate to iterate over…

  • Python libraries for Machine Learning

    There are a lot of python libraries for machine learning. In this section we will take a look at three major libraries which we need the most. Firstly we will discuss NumPy. It is one of the fundamental libraries that we need for machine learning as well as data science.  What can we do with…