Skip to content

Commit 6a34d9e

Browse files
author
eric
committed
Add to what's new: deprecation of keyword ability, and warning when order is used with functionalize
1 parent 18eb031 commit 6a34d9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/source/whatsnew/v0.23.0.txt

+2
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@ Other API Changes
571571
- Set operations (union, difference...) on :class:`IntervalIndex` with incompatible index types will now raise a ``TypeError`` rather than a ``ValueError`` (:issue:`19329`)
572572
- :class:`DateOffset` objects render more simply, e.g. "<DateOffset: days=1>" instead of "<DateOffset: kwds={'days': 1}>" (:issue:`19403`)
573573
- :func:`pandas.merge` provides a more informative error message when trying to merge on timezone-aware and timezone-naive columns (:issue:`15800`)
574+
- :func:`util._decorators.deprecate_kwarg` now has the ability to deprecate a keyword entirely. Previously, using ``@deprecate_kwarg`` required that an alternative keyword be provided in favor of the deprecated keyword.
574575

575576
.. _whatsnew_0230.deprecations:
576577

@@ -624,6 +625,7 @@ Removal of prior version deprecations/changes
624625
- The modules `pandas.tools.hashing` and `pandas.util.hashing` have been removed (:issue:`16223`)
625626
- The top-level functions ``pd.rolling_*``, ``pd.expanding_*`` and ``pd.ewm*`` have been removed (Deprecated since v0.18).
626627
Instead, use the DataFrame/Series methods :attr:`~DataFrame.rolling`, :attr:`~DataFrame.expanding` and :attr:`~DataFrame.ewm` (:issue:`18723`)
628+
- Warnings against the obsolete usage of the order keyword in ``core.algorithms.factorize``. For example, ``core.algorithms.factorize(data, order)``, emits a warning that the order keyword will be deprecated (:issue:`19727`)
627629

628630
.. _whatsnew_0230.performance:
629631

0 commit comments

Comments
 (0)