看这句,不懂save的详细使用
np.save('..//train_test_data_1D//' + str(seq_length) + str(lead_time) + str(point) + str(num) + 'label_test.npy',label_test)
ctrl+左击进入查看详细文档
def save(file, arr, allow_pickle=True, fix_imports=True):
arr : array_like
Array data to be saved.
举例子:
>>> x = np.arange(10)
>>> np.save(outfile, x)
x是要保存的array数据,名字叫outfile
标签:arr,test,str,np,array,save From: https://www.cnblogs.com/xinxuann/p/17040296.html