Skip to content

Remove experimental warning from custom offsets #17584

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

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
23 changes: 5 additions & 18 deletions pandas/tseries/offsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -951,14 +951,9 @@ def next_bday(self):

class CustomBusinessDay(BusinessDay):
"""
**EXPERIMENTAL** DateOffset subclass representing possibly n business days
DateOffset subclass representing possibly n custom business days,
excluding holidays
.. warning:: EXPERIMENTAL
This class is not officially supported and the API is likely to change
in future versions. Use this at your own risk.
Parameters
----------
n : int, default 1
Expand Down Expand Up @@ -1405,12 +1400,8 @@ def onOffset(self, dt):

class CustomBusinessMonthEnd(BusinessMixin, MonthOffset):
"""
**EXPERIMENTAL** DateOffset of one custom business month
.. warning:: EXPERIMENTAL
This class is not officially supported and the API is likely to change
in future versions. Use this at your own risk.
DateOffset subclass representing one custom business month, incrementing
between end of month dates
Parameters
----------
Expand Down Expand Up @@ -1479,12 +1470,8 @@ def apply(self, other):

class CustomBusinessMonthBegin(BusinessMixin, MonthOffset):
"""
**EXPERIMENTAL** DateOffset of one custom business month
.. warning:: EXPERIMENTAL
This class is not officially supported and the API is likely to change
in future versions. Use this at your own risk.
DateOffset subclass representing one custom business month, incrementing
between beginning of month dates
Parameters
----------
Expand Down