Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: restructured offset deprecation whatsnew #56364

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 21 additions & 10 deletions doc/source/whatsnew/v2.2.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -358,19 +358,30 @@ Other API changes
Deprecations
~~~~~~~~~~~~

Deprecate aliases ``M``, ``SM``, ``BM``, ``CBM``, ``Q``, ``BQ``, ``Y``, and ``BY`` in favour of ``ME``, ``SME``, ``BME``, ``CBME``, ``QE``, ``BQE``, ``YE``, and ``BYE`` for offsets
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Deprecate aliases ``M``, ``Q``, ``Y``, etc. in favour of ``ME``, ``QE``, ``YE``, etc. for offsets
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Deprecated the following frequency aliases (:issue:`9586`):

- ``M`` (month end) has been renamed ``ME`` for offsets
- ``SM`` (semi month end) has been renamed ``SME`` for offsets
- ``BM`` (business month end) has been renamed ``BME`` for offsets
- ``CBM`` (custom business month end) has been renamed ``CBME`` for offsets
- ``Q`` (quarter end) has been renamed ``QE`` for offsets
- ``BQ`` (business quarter end) has been renamed ``BQE`` for offsets
- ``Y`` (year end) has been renamed ``YE`` for offsets
- ``BY`` (business year end) has been renamed ``BYE`` for offsets
+-------------------------------+------------------+------------------+
|offsets |deprecated aliases|new aliases |
+===============================+==================+==================+
|:class:`MonthEnd` | ``M`` | ``ME`` |
+-------------------------------+------------------+------------------+
|:class:`BusinessMonthEnd` | ``BM`` | ``BME`` |
+-------------------------------+------------------+------------------+
|:class:`SemiMonthEnd` | ``SM`` | ``SME`` |
+-------------------------------+------------------+------------------+
|:class:`CustomBusinessMonthEnd`| ``CBM`` | ``CBME`` |
+-------------------------------+------------------+------------------+
|:class:`QuarterEnd` | ``Q`` | ``QE`` |
+-------------------------------+------------------+------------------+
|:class:`BQuarterEnd` | ``BQ`` | ``BQE`` |
+-------------------------------+------------------+------------------+
|:class:`YearEnd` | ``Y`` | ``YE`` |
+-------------------------------+------------------+------------------+
|:class:`BYearEnd` | ``BY`` | ``BYE`` |
+-------------------------------+------------------+------------------+

For example:

Expand Down
Loading