This is documentation for an old release of NumPy (version 1.16). Read this page in the documentation of the latest stable release (version 2.2).
numpy.dtype.descr¶
attribute
-
dtype.
descr
¶ __array_interface__ description of the data-type.
The format is that required by the ‘descr’ key in the __array_interface__ attribute.
Warning: This attribute exists specifically for __array_interface__, and is not a datatype description compatible with np.dtype.