[Numpy-discussion] dtype='|S8' -- what does vertical bar mean?

David Warde-Farley dwf@cs.toronto....
Tue Mar 23 16:28:51 CDT 2010


On 23-Mar-10, at 5:04 PM, Reckoner wrote:

> I don't know
> what the "|" this notation means. I can't find it in the
> documentation.
>
> This should be easy. Little help?

A > or < in this position means big or little endianness. Strings  
don't have endianness, hence "|".

David


More information about the NumPy-Discussion mailing list