numpy / 1.13.0 / generated / numpy.dtype.ndim.html /

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.

© 2008–2017 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.dtype.ndim.html