Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
--format=actions \
-i ES01 `# For now it is ok if docstrings are missing the extended summary` \
-i "pandas.tseries.offsets.BusinessHour PR02,SA01" \
-i "pandas.tseries.offsets.CDay PR02,SA01" \
-i "pandas.tseries.offsets.CustomBusinessDay PR02,SA01" \
-i "pandas.tseries.offsets.CustomBusinessHour PR02,SA01" \
-i "pandas.tseries.offsets.FY5253Quarter.is_on_offset GL08" \
-i "pandas.tseries.offsets.LastWeekOfMonth.is_on_offset GL08" \
Expand Down
1 change: 1 addition & 0 deletions doc/source/reference/offset_frequency.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ Properties
CustomBusinessDay.weekmask
CustomBusinessDay.calendar
CustomBusinessDay.holidays
CustomBusinessDay.offset

Methods
~~~~~~~
Expand Down
6 changes: 5 additions & 1 deletion pandas/_libs/tslibs/offsets.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -6189,7 +6189,7 @@ cdef class CustomBusinessDay(BusinessDay):

In CustomBusinessDay we can use custom weekmask, holidays, and calendar.

Parameters
Attributes
----------
n : int, default 1
The number of days represented.
Expand All @@ -6205,6 +6205,10 @@ cdef class CustomBusinessDay(BusinessDay):
offset : timedelta, default timedelta(0)
Time offset to apply.

See Also
--------
:class:`~pandas.tseries.offsets.DateOffset` : Standard kind of date increment.

Examples
--------
In the example below the default parameters give the next business day.
Expand Down
Loading