numpy 文档中的许多 dtype 字符串示例都具有前导 |
字符,例如靠近 the structured arrays page 顶部的 '|S10'
在 numpy 手册中,但都不是 the structured arrays page也不是 data type objects reference似乎解释了这个 |
的意思。 |
在此上下文中是什么意思,它记录在何处?
最佳答案
它指的是byteorder/endianness的数据类型。特别是,'|'表示字节顺序不适用,例如 8 位数字。
关于python - numpy 类型字符串中的 "|"是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24202220/