ndarray (N-dimensional array) is the core data structure. In NumPy, the idea of array is generalized to an arbitrary number of dimensions, and so the fundamental array class is called ndarray: it represents an “N-dimensional array”.