numpy Arrays


N-dimensional arrays or ndarrays are numpy's core object used for storing items of the same data type. They provide an efficient data structure that is superior to ordinary Python's arrays.


Whenever possible express operations on data in terms of arrays and vector operations. Vector operations execute much faster than equivalent for loops