[Numpy-discussion] dtype='|S8' -- what does vertical bar mean?
robert.kern at gmail.com
Tue Mar 23 17:12:10 EDT 2010
On Tue, Mar 23, 2010 at 16:04, Reckoner <reckoner at gmail.com> wrote:
> I've been looking through the documentation and occasionally there is
> a dtype='|S8' reference or something with a "|" in it. I don't know
> what the "|" this notation means. I can't find it in the
> This should be easy. Little help?
That character is used to specify the byte order. "|" means "native
byte order". For 'S' dtypes, it doesn't make a difference; it has no
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the NumPy-Discussion