numpy.ma.load

numpy.ma.load(F)[源代码]

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.

参见

dump
Pickle an array

Notes

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