pandas.read_pickle
-
pandas.read_pickle(path, compression='infer')
[source] -
Load pickled pandas object (or any other pickled object) from the specified file path
Warning: Loading pickled data received from untrusted sources can be unsafe. See: http://docs.python.org/2.7/library/pickle.html
Parameters: path : string
File path
compression : {‘infer’, ‘gzip’, ‘bz2’, ‘xz’, ‘zip’, None}, default ‘infer’
For on-the-fly decompression of on-disk data. If ‘infer’, then use gzip, bz2, xz or zip if path is a string ending in ‘.gz’, ‘.bz2’, ‘xz’, or ‘zip’ respectively, and no decompression otherwise. Set to None for no decompression.
New in version 0.20.0.
Returns: unpickled : type of object stored in file
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.20.3/generated/pandas.read_pickle.html