Section Navigation
ndarray
dtype
ufunc
numpy.typing
numpy.distutils
attribute
A bit-width name for this data-type.
Un-sized flexible data-type objects do not have this attribute.
Examples
>>>importnumpyasnp>>>x=np.dtype(float)>>>x.name'float64'>>>x=np.dtype([('a',np.int32,8),('b',np.float64,6)])>>>x.name'void640'
dtype.name