dtype
dtype.
ndim
Number of dimensions of the sub-array if this data type describes a sub-array, and 0 otherwise.
0
New in version 1.13.0.
numpy.dtype.names
numpy.dtype.shape