dtype
numpy.dtype.kind
numpy.dtype.num
attribute
dtype.
char
A unique character code for each of the 21 different built-in types.
Examples
>>> x = np.dtype(float) >>> x.char 'd'