numpy.dtype.shape — NumPy v1.11 Manual (original) (raw)

dtype.shape

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