numpy / 1.16.1 / generated / numpy.dtype.shape.html /

numpy.dtype.shape

attribute

dtype.shape

Shape tuple of the sub-array if this data type describes a sub-array, and () otherwise.

© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.16.1/reference/generated/numpy.dtype.shape.html