- NumPy v1.13 Manual
- NumPy Reference
- Array objects
- Data type objects (`dtype`)
- numpy.dtype

- index
- next
- previous

#### Previous topic

numpy.dtype.names

#### Next topic

numpy.dtype.shape

# 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.

- © Copyright 2008-2009, The Scipy community.
- Last updated on Jun 10, 2017.
- Created using Sphinx 1.5.3.