W3cubDocs

/NumPy 1.17

numpy.ndarray.dump

method

ndarray.dump(file)

Dump a pickle of the array to the specified file. The array can be read back with pickle.load or numpy.load.

Parameters:
file : str or Path

A string naming the dump file.

Changed in version 1.17.0: pathlib.Path objects are now accepted.

© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.17.0/reference/generated/numpy.ndarray.dump.html