'What is the meaning of vertical bar in array dtype ('|S58')
I have an error when I tried to do
np.savetxt(f, te_filename)
It returns an error of
% (str(X.dtype), format))
TypeError: Mismatch between array dtype ('|S58') and format specifier ('%.18e')
I checked the doc page,
https://docs.scipy.org/doc/numpy-1.10.0/reference/arrays.dtypes.html
Seems that S stands for string and 58 is the length, what is the meaning of vertical bar then?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
