NumPy offers comprehensive mathematical functions, random number generators, linear algebra routines, Fourier transforms, and more.
NumPy is a library that helps us handle large and multidimensional arrays and matrices. It provides a large collection of powerful methods to do multiple operations.
NumPy Arrays NumPy arrays are n-dimensional arrays containing data of the same type in the form of rows and columns. We can create these arrays in the following way:
To install requirement python libraries :
pip install -r requirement.txt
Launch with:
jupyter notebook
Different methods for creating array ex. zeros, ones, fill , arrange , linspace , random.randint , np.eye Attributes of numpy
Array indexing
Array slicing
Concatinting and splitting
Universal functions (ufuncs)
Broadcasting
Masking
Fancy indexing
Sorting