Reconstruct a Python object and the numpy arrays it contains from a persisted file.
Parameters : | filename: string :
mmap_mode: {None, ‘r+’, ‘r’, ‘w+’, ‘c’}, optional :
|
---|---|
Returns : | result: any Python object :
|
See also
Notes
This function loads the numpy array files saved separately. If the mmap_mode argument is given, it is passed to np.save and arrays are loaded as memmaps. As a consequence, the reconstructed object might not match the original pickled object.