Python将np数组保存成npy文件

Python将np数组保存成npy文件

import numpy as np 

np.save("filename.npy",a)
b = np.load("filename.npy")

https://www.runoob.com/numpy/numpy-io.html

https://www.cnblogs.com/yibeimingyue/p/13858019.html

posted @ 2024-06-21 11:16  michaelchengjl  阅读(19)  评论(0编辑  收藏  举报