I have a numpy.array
and I want to find out what endianness is used in the underlying representation.
A byteorder
property is documented here, but none of the given examples show it being used with an array.
I have a numpy.array
and I want to find out what endianness is used in the underlying representation.
A byteorder
property is documented here, but none of the given examples show it being used with an array.
byteorder
is a data type objectsdtype
attribute so you need to do this: