Listly by sriniwas pawar
Python Numpy Library List
Numpy zeros np.zeros() function in python is used to get an array of given shape and type filled with zeros. You can pass three parameters inside function np.zeros shape, dtype and order. Numpy zeros function returns an array of the given shape.
Sometimes we wants to print string output without newline. Means printing a variable value or statement without going to newline. In Python for printing values print() function is used, which by default ends with newline.
numpy.where() function in Python returns the indices of items in the input array when the given condition is satisfied.
The numpy.linspace() function in Python returns evenly spaced numbers over the specified interval. This function is similar to The Numpy arange function but it uses the number instead of the step as an interval.
By using numpy.reshape() function we can give new shape to the array without changing data. Sometimes we need to change only the shape of the array without changing data at that time reshape() function is very much useful.
numpy.sum() function in Python returns the sum of array elements along with the specified axis. So to get the sum of all element by rows or by columns numpy.sum() function is used.
numpy.append() function in Python is used to add values to the end of the array and returns the new array.