📜  如何保存数组python代码示例

📅  最后修改于: 2022-03-11 14:45:53.898000             🧑  作者: Mango

代码示例2
import numpy as np

x = np.arange(10)
# array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
np.save(outfile, x)