NumPy offers an N-dimensional array type called the ndarray. This describes a collection “items” that are the same type. You can index the items using N integers, for instance.
All ndarrays can be interpreted in the same way. Every item occupies the same memory block size. Every item in an array is specified by a data-type object. One of these objects is associated with each array.