SciPy

This is documentation for an old release of NumPy (version 1.8.1). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.dtype.shape

dtype.shape

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

Previous topic

numpy.dtype.names

Next topic

numpy.dtype.str