diff --git a/pandas/io/pickle.py b/pandas/io/pickle.py index 756096dd0c9ce..51c36520555a4 100644 --- a/pandas/io/pickle.py +++ b/pandas/io/pickle.py @@ -29,8 +29,8 @@ def to_pickle(obj, path, compression='infer', protocol=pkl.HIGHEST_PROTOCOL): For Python >= 3.4, 4 is a valid value. A negative value for the protocol parameter is equivalent to setting its value to HIGHEST_PROTOCOL. - - .. [1] https://docs.python.org/3/library/pickle.html + + .. [1] https://docs.python.org/3.1/library/pickle.html .. versionadded:: 0.21.0 @@ -48,7 +48,6 @@ def to_pickle(obj, path, compression='infer', protocol=pkl.HIGHEST_PROTOCOL): for _f in fh: _f.close() - def read_pickle(path, compression='infer'): """ Load pickled pandas object (or any other pickled object) from the specified