Skip to content

Commit fbe2847

Browse files
committed
Add What's New for deprecations
TODO add PR number
1 parent c9e6eba commit fbe2847

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/source/whatsnew/v1.1.0.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,9 @@ Deprecations
359359
arguments (:issue:`27573`).
360360

361361
- :func:`pandas.api.types.is_categorical` is deprecated and will be removed in a future version; use `:func:pandas.api.types.is_categorical_dtype` instead (:issue:`33385`)
362+
- :meth:`Series.dt.week` and `Series.dt.weekofyear` are deprecated and will be removed in a future version, use :meth:`Series.dt.isocalendar().week` instead (:issue:`TBD`)
363+
- :meth:`DatetimeIndex.week` and `DatetimeIndex.weekofyear` are deprecated and will be removed in a future version, use :meth:`DatetimeIndex.isocalendar().week` instead (:issue:`TBD`)
364+
- :meth:`DatetimeArray.week` and `DatetimeArray.weekofyear` are deprecated and will be removed in a future version, use :meth:`DatetimeArray.isocalendar().week` instead (:issue:`TBD`)
362365

363366
.. ---------------------------------------------------------------------------
364367

0 commit comments

Comments
 (0)