numpy.ndarray.dump#

方法

ndarray.dump(file)#

将数组的 pickle 序列化内容转储到指定文件。该数组可以通过 pickle.load 或 numpy.load 读取回来。

参数:
file字符串或 Path

转储文件的名称字符串。