Skip to content

Commit 0f2171d

Browse files
committed
Add What's New for deprecations
TODO add PR number
1 parent 43c40c0 commit 0f2171d

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
@@ -404,6 +404,9 @@ Deprecations
404404
arguments (:issue:`27573`).
405405

406406
- :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`)
407+
- :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`)
408+
- :meth:`DatetimeIndex.week` and `DatetimeIndex.weekofyear` are deprecated and will be removed in a future version, use :meth:`DatetimeIndex.isocalendar().week` instead (:issue:`TBD`)
409+
- :meth:`DatetimeArray.week` and `DatetimeArray.weekofyear` are deprecated and will be removed in a future version, use :meth:`DatetimeArray.isocalendar().week` instead (:issue:`TBD`)
407410

408411
.. ---------------------------------------------------------------------------
409412

0 commit comments

Comments
 (0)