joblib.dump

joblib.dump(value, filename, compress=False)

Persist an arbitrary Python object into a filename, with numpy arrays saved as separate .npy files.

Parameters :

value: any Python object :

The object to store to disk

filename: string :

The name of the file in which it is to be stored

compress: boolean, optional :

Whether to compress the data on the disk or not

Returns :

filenames: list of strings :

The list of file names in which the data is stored. If compress is false, each array is stored in a different file.

See also

joblib.load
corresponding loader

Notes

compressed files take extra disk space during the dump, and extra memory during the loading.



Mailing list

joblib@librelist.com

Send an email to subscribe


Show this page source