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.14.2/reference/generated/numpy.dtype.shape.html