SciPy

This is documentation for an old release of NumPy (version 1.13.0). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.dtype.ndim

dtype.ndim

Number of dimensions of the sub-array if this data type describes a sub-array, and 0 otherwise.

New in version 1.13.0.

Previous topic

numpy.dtype.names

Next topic

numpy.dtype.shape