SciPy

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

numpy.dtype.char

attribute

dtype.char

A unique character code for each of the 21 different built-in types.

Examples

>>>
>>> x = np.dtype(float)
>>> x.char
'd'

Previous topic

numpy.dtype.kind

Next topic

numpy.dtype.num