AI engineering glossary · NumPy pandas visualization
What is ndarray?
ndarray (also called N-dimensional array, NumPy array): NumPy's core data structure: a fixed-size grid of values that all share one data type and are stored in one contiguous block of memory. It can have any number of dimensions. Because the layout is uniform, operations run quickly and use far less memory than a Python list of numbers.
ndarray: an example
np.array([[1, 2, 3], [4, 5, 6]]) creates a two-row, three-column ndarray of integers.
Related terms
More NumPy pandas visualization terms
Where you learn it
ndarray is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.