SciPy

numpy.ma.load

numpy.ma.load(F)[source]

Wrapper around cPickle.load which accepts either a file-like object or a filename.

Parameters:
F : str or file

The file or file name to load.

See also

dump
Pickle an array

Notes

This is different from numpy.load, which does not use cPickle but loads the NumPy binary .npy format.

Previous topic

numpy.ma.dumps

Next topic

numpy.ma.loads