numpy.dtype.char
#
attribute
dtype.char
A unique character code for each of the 21 different built-in types.
Examples
Try it in your browser!>>> importnumpyasnp>>> x=np.dtype(float)>>> x.char'd'Go BackOpen In Tab