numpy.sctype2char()

numpy.sctype2char

numpy.sctype2char(sctype) [source]

Return the string representation of a scalar dtype.

登录查看完整内容
Parameters:

sctype : scalar dtype or object

If a scalar dtype, the corresponding string character is returned. If an object, sctype2char tries to infer its scalar type and then return the corresponding string character.