A data type object (an instance of Dtype class) describes how the bytes in the fixed-size block of memory corresponding to an array item should be interpreted.
Public fields
dtype
The original dtype string, like "<f4".
byte_order
The byte order of the dtype, either "little", "big", or "nr".
basic_type
The basic type of the dtype, like "f".
num_bytes
The number of bytes of the dtype.
num_items
The number of items of the dtype.
is_signed
Whether the dtype is signed. Logical/boolean.
is_structured
Whether the dtype is structured. Logical/boolean.
is_object
Whether the dtype is an object. Logical/boolean.
object_codec
The object codec instance.