numpy.typename(char) [source]
Return a description for the given data type code. Parameters:
char : str Data type code. Returns:
out : str Description of the input data type code. See also dtype, typecodes Examples >>> typechars = ['S1', '?', 'B', 'D', 'G', 'F', 'I', 'H', 'L', 'O', 'Q',
... 'S', 'U', 'V', 'b', 'd', 'g', 'f', 'i', 'h', 'l', 'q']
>>> for typechar in typechars:
... print(typechar, ' : ', np.typename(typechar))
...
S1 : character
?