234 | Big Data Simplied
9.2.1
NumPy Library
NumPy is the basic package in Python for doing scientic computing. The main content of this
package includes functionality for multidimensional arrays, high-level mathematical functions,
for example, linear algebra and Fourier transform operations, random number generators, etc.
While exploring scikit-learn, which is the main library of Python to implement machine leaning
functionalities, we see that it highly uses NumPy array as its primary data structure. Therefore, as
the initial step, let us rst review NumPy array.
NumPy Array: The array data structure in NumPy library stores regular data, which are elements of
the same type, for example, integer in a structured way. The array can be of varying ...