numpy.dtype.name

attribute

dtype.name

A bit-width name for this data-type.

Un-sized flexible data-type objects do not have this attribute.