SciPy

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.

Previous topic

numpy.ma.MaskedArray.tobytes

Next topic

numpy.ma.dumps