spyder:用 a.tofile存取数据,未指定分隔符,数据应该以“NUL"显示?
a.tofile("b.dat",format='%d')
运行结果却是这样:
瞅瞅是不是这个原因:tofile输出的数据没有格式,因此用numpy.fromfile读回来的时候需要自己格式化数据https://blog.csdn.net/weixin_39637919/article/details/110836983