Skip to content

Commit add11f3

Browse files
committed
CLN/DOC: move all 0.12s to 0.13
1 parent 529e8fa commit add11f3

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

doc/source/faq.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ horizontal scrolling, auto-detection of width/height.
3535
To appropriately address all these environments, the display behavior is controlled
3636
by several options, which you're encouraged to tweak to suit your setup.
3737

38-
As of 0.12, these are the relavent options, all under the `display` namespace,
38+
As of 0.12, these are the relevant options, all under the `display` namespace,
3939
(e.g. display.width, etc'):
4040

4141
- notebook_repr_html: if True, IPython frontends with HTML support will display

pandas/core/api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
# legacy
3030
from pandas.core.daterange import DateRange # deprecated
31-
from pandas.core.common import save, load # deprecated, remove in 0.12
31+
from pandas.core.common import save, load # deprecated, remove in 0.13
3232
import pandas.core.datetools as datetools
3333

3434
from pandas.core.config import get_option, set_option, reset_option,\

pandas/core/common.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2076,7 +2076,7 @@ def console_encode(object, **kwds):
20762076
return pprint_thing_encoded(object,
20772077
get_option("display.encoding"))
20782078

2079-
def load(path): # TODO remove in 0.12
2079+
def load(path): # TODO remove in 0.13
20802080
"""
20812081
Load pickled pandas object (or any other pickled object) from the specified
20822082
file path
@@ -2098,7 +2098,7 @@ def load(path): # TODO remove in 0.12
20982098
from pandas.io.pickle import read_pickle
20992099
return read_pickle(path)
21002100

2101-
def save(obj, path): # TODO remove in 0.12
2101+
def save(obj, path): # TODO remove in 0.13
21022102
'''
21032103
Pickle (serialize) object to input file path
21042104

pandas/core/format.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ def __init__(self, obj, path_or_buf, sep=",", na_rep='', float_format=None,
793793
line_terminator='\n', chunksize=None, engine=None,
794794
tupleize_cols=True):
795795

796-
self.engine = engine # remove for 0.12
796+
self.engine = engine # remove for 0.13
797797
self.obj = obj
798798

799799
self.path_or_buf = path_or_buf
@@ -962,7 +962,7 @@ def save(self):
962962
delimiter=self.sep, quoting=self.quoting)
963963

964964
if self.engine == 'python':
965-
# to be removed in 0.12
965+
# to be removed in 0.13
966966
self._helper_csv(self.writer, na_rep=self.na_rep,
967967
float_format=self.float_format, cols=self.cols,
968968
header=self.header, index=self.index,

pandas/core/frame.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -568,14 +568,14 @@ def _wrap_array(self, arr, axes, copy=False):
568568
def _verbose_info(self):
569569
import warnings
570570
warnings.warn('The _verbose_info property will be removed in version '
571-
'0.12. please use "max_info_rows"', FutureWarning)
571+
'0.13. please use "max_info_rows"', FutureWarning)
572572
return get_option('display.max_info_rows') is None
573573

574574
@_verbose_info.setter
575575
def _verbose_info(self, value):
576576
import warnings
577577
warnings.warn('The _verbose_info property will be removed in version '
578-
'0.12. please use "max_info_rows"', FutureWarning)
578+
'0.13. please use "max_info_rows"', FutureWarning)
579579

580580
value = None if value else 1000000
581581
set_option('display.max_info_rows', value)
@@ -3593,12 +3593,12 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None,
35933593
if method is not None:
35943594
from warnings import warn
35953595
warn('the "method" argument is deprecated and will be removed in'
3596-
'v0.12; this argument has no effect')
3596+
'v0.13; this argument has no effect')
35973597

35983598
if axis is not None:
35993599
from warnings import warn
36003600
warn('the "axis" argument is deprecated and will be removed in'
3601-
'v0.12; this argument has no effect')
3601+
'v0.13; this argument has no effect')
36023602

36033603
self._consolidate_inplace()
36043604

@@ -3733,7 +3733,7 @@ def interpolate(self, to_replace, method='pad', axis=0, inplace=False,
37333733
reindex, replace, fillna
37343734
"""
37353735
from warnings import warn
3736-
warn('DataFrame.interpolate will be removed in v0.12, please use '
3736+
warn('DataFrame.interpolate will be removed in v0.13, please use '
37373737
'either DataFrame.fillna or DataFrame.replace instead',
37383738
FutureWarning)
37393739
if self._is_mixed_type and axis == 1:

pandas/core/generic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ def to_pickle(self, path):
3636
from pandas.io.pickle import to_pickle
3737
return to_pickle(self, path)
3838

39-
def save(self, path): # TODO remove in 0.12
39+
def save(self, path): # TODO remove in 0.13
4040
import warnings
4141
from pandas.io.pickle import to_pickle
4242
warnings.warn("save is deprecated, use to_pickle", FutureWarning)
4343
return to_pickle(self, path)
4444

45-
def load(self, path): # TODO remove in 0.12
45+
def load(self, path): # TODO remove in 0.13
4646
import warnings
4747
from pandas.io.pickle import read_pickle
4848
warnings.warn("load is deprecated, use pd.read_pickle", FutureWarning)

pandas/tools/plotting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ def _compute_plot_data(self):
880880
try:
881881
# might be an ndframe
882882
numeric_data = self.data._get_numeric_data()
883-
except AttributeError: # TODO: rm in 0.12 (series-inherit-ndframe)
883+
except AttributeError: # TODO: rm in 0.13 (series-inherit-ndframe)
884884
numeric_data = self.data
885885
orig_dtype = numeric_data.dtype
886886

0 commit comments

Comments
 (0)