Skip to content

Commit 9648bc0

Browse files
DOC: Fix GL08 for pandas.tseries.offsets.CDay
1 parent 654a810 commit 9648bc0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
7373
-i "pandas.tseries.offsets.BDay PR02,SA01" \
7474
-i "pandas.tseries.offsets.BusinessDay PR02,SA01" \
7575
-i "pandas.tseries.offsets.BusinessHour PR02,SA01" \
76-
-i "pandas.tseries.offsets.CDay PR02,SA01" \
77-
-i "pandas.tseries.offsets.CustomBusinessDay PR02,SA01" \
7876
-i "pandas.tseries.offsets.CustomBusinessHour PR02,SA01" \
7977
-i "pandas.tseries.offsets.Easter.is_on_offset GL08" \
8078
-i "pandas.tseries.offsets.FY5253Quarter.is_on_offset GL08" \

pandas/_libs/tslibs/offsets.pyx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5975,7 +5975,7 @@ cdef class CustomBusinessDay(BusinessDay):
59755975
59765976
In CustomBusinessDay we can use custom weekmask, holidays, and calendar.
59775977
5978-
Parameters
5978+
Attributes
59795979
----------
59805980
n : int, default 1
59815981
The number of days represented.
@@ -5991,6 +5991,10 @@ cdef class CustomBusinessDay(BusinessDay):
59915991
offset : timedelta, default timedelta(0)
59925992
Time offset to apply.
59935993
5994+
See Also
5995+
--------
5996+
:class:`~pandas.tseries.offsets.DateOffset` : Standard kind of date increment.
5997+
59945998
Examples
59955999
--------
59966000
In the example below the default parameters give the next business day.

0 commit comments

Comments
 (0)