Skip to content

Commit 2011da2

Browse files
committed
FIX not mention save/load being removed
1 parent e591d02 commit 2011da2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

RELEASE.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ pandas 0.11.1
138138
- added top-level ``pd.read_sql`` and ``to_sql`` DataFrame methods
139139
- removed ``clipboard`` support to ``pandas.io.clipboard``
140140
- replace top-level and instance methods ``save`` and ``load`` with top-level ``read_pickle`` and
141-
``to_pickle`` instance method, ``save`` and ``load`` will give deprecation warning until 0.12.
141+
``to_pickle`` instance method, ``save`` and ``load`` will give deprecation warning.
142142
- the ``method`` and ``axis`` arguments of ``DataFrame.replace()`` are
143143
deprecated
144144
- Implement ``__nonzero__`` for ``NDFrame`` objects (GH3691_, GH3696_)

pandas/core/common.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2080,7 +2080,7 @@ def load(path): # TODO remove in 0.12
20802080
unpickled : type of object stored in file
20812081
"""
20822082
import warnings
2083-
warnings.warn("load is deprecated and will be removed in v0.12, use read_pickle", FutureWarning)
2083+
warnings.warn("load is deprecated, use read_pickle", FutureWarning)
20842084
from pandas.io.pickle import read_pickle
20852085
return read_pickle(path)
20862086

@@ -2095,6 +2095,6 @@ def save(obj, path): # TODO remove in 0.12
20952095
File path
20962096
'''
20972097
import warnings
2098-
warnings.warn("save is deprecated and will be removed in v0.12, use obj.to_pickle", FutureWarning)
2098+
warnings.warn("save is deprecated, use obj.to_pickle", FutureWarning)
20992099
from pandas.io.pickle import to_pickle
21002100
return to_pickle(obj, path)

pandas/core/generic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ def to_pickle(self, path):
3939
def save(self, path): # TODO remove in 0.12
4040
import warnings
4141
from pandas.io.pickle import to_pickle
42-
warnings.warn("save is deprecated and will be removed in v0.12, use to_pickle", FutureWarning)
42+
warnings.warn("save is deprecated, use to_pickle", FutureWarning)
4343
return to_pickle(self, path)
4444

4545
def load(self, path): # TODO remove in 0.12
4646
import warnings
4747
from pandas.io.pickle import read_pickle
48-
warnings.warn("load is deprecated and will be removed in v0.12, use pd.read_pickle", FutureWarning)
48+
warnings.warn("load is deprecated, use pd.read_pickle", FutureWarning)
4949
return read_pickle(path)
5050

5151
def __hash__(self):

0 commit comments

Comments
 (0)