python
TypeError: write() argument must be str, not numpy.float64
出现该问题的时候需要进行数据类型的转换
错误前
f.write(data_y[i])
错误后
f.write(str(data_y[i]))
python
TypeError: write() argument must be str, not numpy.float64
出现该问题的时候需要进行数据类型的转换
错误前
f.write(data_y[i])
错误后
f.write(str(data_y[i]))