numpy.dtype.kind

dtype.kind

A character code (one of ‘biufcSUV’) identifying the general kind of data.