NumPy

Previous topic

numpy.chararray.decode

Next topic

numpy.chararray.dumps

numpy.chararray.dump

method

chararray.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
filestr or Path

A string naming the dump file.

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