In Python, the most fundamental library for numerical computations is numpy.
The core feature of numpy is the ndarray (N-dimensional array) object.
It allows efficient storage and manipulation of large numerical datasets.
pandas uses ndarray internally but does not define it itself.
matplotlib is used for plotting and creating visualizations.
scipy extends numpy with scientific computing tools but relies on numpy's ndarray.
Therefore, numpy is the library that defines ndarray.