pandas.read_pickle — pandas 0.24.0rc1 documentation (original) (raw)

Parameters:

path : str

File path where the pickled object will be loaded.

compression : {‘infer’, ‘gzip’, ‘bz2’, ‘zip’, ‘xz’, None}, default ‘infer’

For on-the-fly decompression of on-disk data. If ‘infer’, then use gzip, bz2, xz or zip if path ends in ‘.gz’, ‘.bz2’, ‘.xz’, or ‘.zip’ respectively, and no decompression otherwise. Set to None for no decompression.

New in version 0.20.0.