Skip to content

Commit d90f384

Browse files
committed
deprecation note for categorical
1 parent 4715ef6 commit d90f384

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/source/whatsnew/v0.24.0.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1137,6 +1137,8 @@ Deprecations
11371137
- :func:`pandas.types.is_datetimetz` is deprecated in favor of `pandas.types.is_datetime64tz` (:issue:`23917`)
11381138
- Creating a :class:`TimedeltaIndex` or :class:`DatetimeIndex` by passing range arguments `start`, `end`, and `periods` is deprecated in favor of :func:`timedelta_range` and :func:`date_range` (:issue:`23919`)
11391139
- Passing a string alias like ``'datetime64[ns, UTC]'`` as the `unit` parameter to :class:`DatetimeTZDtype` is deprecated. Use :class:`DatetimeTZDtype.construct_from_string` instead (:issue:`23990`).
1140+
- In :meth:`Series.where` with Categorical data, providing an ``other`` that is not present in the categories is deprecated. Convert the categorical to a different dtype first, or add the ``other`` to the categories first (:issue:`24077`).
1141+
11401142

11411143
.. _whatsnew_0240.deprecations.datetimelike_int_ops:
11421144

0 commit comments

Comments
 (0)