Previous topic

numpy.ma.filled

Next topic

numpy.ma.dumps

This is documentation for an old release of NumPy (version 1.13). Read this page in the documentation of the latest stable release (version 2.2).

numpy.ma.dump

numpy.ma.dump(a, F)[source]

Pickle a masked array to a file.

This is a wrapper around cPickle.dump.

Parameters:

a : MaskedArray

The array to be pickled.

F : str or file-like object

The file to pickle a to. If a string, the full path to the file.