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.
Examples
>>> x = np.dtype(float) >>> x.name 'float64' >>> x = np.dtype([('a', np.int32, 8), ('b', np.float64, 6)]) >>> x.name 'void640'