What is the meaning of vertical bar in array dtype ('|S58')

后端 未结 1 458
春和景丽
春和景丽 2021-01-20 16:52

I have an error when I tried to do

np.savetxt(f, te_filename)

It returns an error of

% (str(X.dtype), format))


        
相关标签:
1条回答
  • 2021-01-20 17:41

    It's a byte order specifier, specifying "byte orders don't apply".

    • '=': native
    • '<': little-endian
    • '>': big-endian
    • '|': not applicable
    0 讨论(0)
提交回复
热议问题