diff --git a/doc/source/merging.rst b/doc/source/merging.rst index 86d2ec2254057..5f2e90e6ae4fe 100644 --- a/doc/source/merging.rst +++ b/doc/source/merging.rst @@ -568,7 +568,7 @@ standard database join operations between DataFrame objects: .. note:: Support for specifying index levels as the ``on``, ``left_on``, and - ``right_on`` parameters was added in version 0.22.0. + ``right_on`` parameters was added in version 0.23.0. The return type will be the same as ``left``. If ``left`` is a ``DataFrame`` and ``right`` is a subclass of DataFrame, the return type will still be diff --git a/doc/source/reshaping.rst b/doc/source/reshaping.rst index 1b81d83bb76c7..e2b7b0e586d70 100644 --- a/doc/source/reshaping.rst +++ b/doc/source/reshaping.rst @@ -642,7 +642,7 @@ By default new columns will have ``np.uint8`` dtype. To choose another dtype use pd.get_dummies(df, dtype=bool).dtypes -.. versionadded:: 0.22.0 +.. versionadded:: 0.23.0 .. _reshaping.factorize: diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py index f9bd6849c5072..845d0243c39e9 100644 --- a/pandas/core/categorical.py +++ b/pandas/core/categorical.py @@ -859,7 +859,7 @@ def rename_categories(self, new_categories, inplace=False): * callable : a callable that is called on all items in the old categories and whose return values comprise the new categories. - .. versionadded:: 0.22.0 + .. versionadded:: 0.23.0 .. warning:: diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 65934494b321b..26257f6ecbc37 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -200,7 +200,7 @@ Notes ----- Support for specifying index levels as the `on`, `left_on`, and -`right_on` parameters was added in version 0.22.0 +`right_on` parameters was added in version 0.23.0 Examples -------- @@ -5094,7 +5094,7 @@ def join(self, other, on=None, how='left', lsuffix='', rsuffix='', of DataFrame objects Support for specifying index levels as the `on` parameter was added - in version 0.22.0 + in version 0.23.0 Examples -------- diff --git a/pandas/core/generic.py b/pandas/core/generic.py index d08fbf8593946..e9dd82eb64834 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1692,7 +1692,7 @@ def to_json(self, path_or_buf=None, orient=None, date_format=None, including the index (``index=False``) is only supported when orient is 'split' or 'table'. - .. versionadded:: 0.22.0 + .. versionadded:: 0.23.0 Returns ------- diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 5231dc2deb233..79de63b0caeb6 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -3785,7 +3785,7 @@ def drop(self, labels, errors='raise'): level : int or str, optional, default None Only return values from specified level (for MultiIndex) - .. versionadded:: 0.22.0 + .. versionadded:: 0.23.0 Returns ------- diff --git a/pandas/core/indexes/interval.py b/pandas/core/indexes/interval.py index cb786574909db..8b6121f360b76 100644 --- a/pandas/core/indexes/interval.py +++ b/pandas/core/indexes/interval.py @@ -554,7 +554,7 @@ def to_tuples(self, na_tuple=True): Returns NA as a tuple if True, ``(nan, nan)``, or just as the NA value itself if False, ``nan``. - ..versionadded:: 0.22.0 + ..versionadded:: 0.23.0 Examples -------- diff --git a/pandas/core/reshape/melt.py b/pandas/core/reshape/melt.py index d5551c6c9f297..c2804c8f8e63e 100644 --- a/pandas/core/reshape/melt.py +++ b/pandas/core/reshape/melt.py @@ -200,7 +200,7 @@ def wide_to_long(df, stubnames, i, j, sep="", suffix=r'\d+'): .. versionadded:: 0.20.0 - .. versionchanged:: 0.22.0 + .. versionchanged:: 0.23.0 When all suffixes are numeric, they are cast to int64/float64. Returns diff --git a/pandas/core/reshape/reshape.py b/pandas/core/reshape/reshape.py index 5bb86885c0875..320ad109f01ba 100644 --- a/pandas/core/reshape/reshape.py +++ b/pandas/core/reshape/reshape.py @@ -731,7 +731,7 @@ def get_dummies(data, prefix=None, prefix_sep='_', dummy_na=False, dtype : dtype, default np.uint8 Data type for new columns. Only a single dtype is allowed. - .. versionadded:: 0.22.0 + .. versionadded:: 0.23.0 Returns ------- diff --git a/pandas/core/tools/datetimes.py b/pandas/core/tools/datetimes.py index 4245b9eb641ba..6b8edbb146e4b 100644 --- a/pandas/core/tools/datetimes.py +++ b/pandas/core/tools/datetimes.py @@ -184,7 +184,7 @@ def to_datetime(arg, errors='raise', dayfirst=False, yearfirst=False, conversion. May produce sigificant speed-up when parsing duplicate date strings, especially ones with timezone offsets. - .. versionadded:: 0.22.0 + .. versionadded:: 0.23.0 Returns ------- diff --git a/pandas/io/excel.py b/pandas/io/excel.py index 2dbfeab9cc331..97a739b349a98 100644 --- a/pandas/io/excel.py +++ b/pandas/io/excel.py @@ -132,7 +132,7 @@ nrows : int, default None Number of rows to parse - .. versionadded:: 0.22.0 + .. versionadded:: 0.23.0 na_values : scalar, str, list-like, or dict, default None Additional strings to recognize as NA/NaN. If dict passed, specific @@ -150,7 +150,7 @@ format. skip_footer : int, default 0 - .. deprecated:: 0.22.0 + .. deprecated:: 0.23.0 Pass in `skipfooter` instead. skipfooter : int, default 0 Rows at the end to skip (0-indexed) diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index daf05bb80d7ca..3af9e78a5aac4 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -795,7 +795,7 @@ def hide_index(self): """ Hide any indices from rendering. - .. versionadded:: 0.22.0 + .. versionadded:: 0.23.0 Returns ------- @@ -808,7 +808,7 @@ def hide_columns(self, subset): """ Hide columns from rendering. - .. versionadded:: 0.22.0 + .. versionadded:: 0.23.0 Parameters ---------- diff --git a/pandas/io/parquet.py b/pandas/io/parquet.py index eaaa14e756e22..e431c9447e8f8 100644 --- a/pandas/io/parquet.py +++ b/pandas/io/parquet.py @@ -131,7 +131,7 @@ def read(self, path, columns=None, **kwargs): def _validate_write_lt_070(self, df): # Compatibility shim for pyarrow < 0.7.0 - # TODO: Remove in pandas 0.22.0 + # TODO: Remove in pandas 0.23.0 from pandas.core.indexes.multi import MultiIndex if isinstance(df.index, MultiIndex): msg = ( diff --git a/pandas/stats/moments.py b/pandas/stats/moments.py index 4290001fea405..1cd98feb05ea0 100644 --- a/pandas/stats/moments.py +++ b/pandas/stats/moments.py @@ -209,7 +209,7 @@ def ensure_compat(dispatch, name, arg, func_kw=None, *args, **kwargs): kwds[k] = value # TODO: the below is only in place temporary until this module is removed. - kwargs.pop('freq', None) # freq removed in 0.22 + kwargs.pop('freq', None) # freq removed in 0.23 # how is a keyword that if not-None should be in kwds how = kwargs.pop('how', None) if how is not None: