-
dtype.names -
Ordered list of field names, or
Noneif there are no fields.The names are ordered according to increasing byte offset. This can be used, for example, to walk through all of the named fields in offset order.
Examples
>>> dt = np.dtype([('name', np.str_, 16), ('grades', np.float64, (2,))]) >>> dt.names ('name', 'grades')
dtype.names
2025-01-10 15:47:30
Please login to continue.