[Numpy-discussion] trivial question: how to compare dtype - but ignoring byteorder ?

Sebastian Haase haase at msg.ucsf.edu
Sun Jul 23 23:47:06 CDT 2006


Hi,
if I have a numpy array 'a'
and say:
a.dtype == numpy.float32

Is the result independent of a's byteorder ?
(That's what I would expect ! Just checking !)

Thanks,
Sebastian Haase




More information about the Numpy-discussion mailing list