[Numpy-discussion] arr.dtype.byteorder == '=' --- is this "good code"

Francesc Altet faltet@carabos....
Tue Jul 3 03:36:52 CDT 2007


El dt 03 de 07 del 2007 a les 10:34 +0200, en/na Sebastian Haase va
escriure:
> Thanks for the reply.
> Rethinking the question ... wasn't there an attribute named something like:
> is_native()
> ??

In [3]:a.dtype.isnative
Out[3]:True

:)

-- 
Francesc Altet    |  Be careful about using the following code --
Carabos Coop. V.  |  I've only proven that it works, 
www.carabos.com   |  I haven't tested it. -- Donald Knuth



More information about the Numpy-discussion mailing list