[Numpy-discussion] numpy endian question

Matthew Brett matthew.brett@gmail....
Sat Apr 28 06:16:45 CDT 2007


On 4/27/07, Christopher Barker <Chris.Barker@noaa.gov> wrote:
>
> Is there really no single method to call on an ndarray that asks: "what
> endian are you"
>
> I know not every two-liner should be made into a convenience method, but
> this seems like a good candidate to me.

+1

I came across this source of minor confusion and excess code lines
when writing the matlab io module for scipy.

dtype.isbigendian?

Matthew


More information about the Numpy-discussion mailing list