On this page
numpy.dtype.shape
dtype.shape
-
Shape tuple of the sub-array if this data type describes a sub-array, and
()
otherwise.
© 2008–2017 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.12.0/reference/generated/numpy.dtype.shape.html