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

David Warde-Farley dwf at cs.toronto.edu
Tue Mar 23 17:28:51 EDT 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