Skip to content

Commit f5267db

Browse files
authored
DOC: add missing parameters n\normalize\offset to offsets classes (#54635)
add missing parameters n\normalize\offset to offsets classes
1 parent cb3b20b commit f5267db

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pandas/_libs/tslibs/offsets.pyx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,6 +1621,8 @@ cdef class BusinessDay(BusinessMixin):
16211621
The number of days represented.
16221622
normalize : bool, default False
16231623
Normalize start/end dates to midnight.
1624+
offset : timedelta, default timedelta(0)
1625+
Time offset to apply.
16241626
16251627
Examples
16261628
--------
@@ -3148,6 +3150,10 @@ cdef class Week(SingleConstructorOffset):
31483150
31493151
Parameters
31503152
----------
3153+
n : int, default 1
3154+
The number of weeks represented.
3155+
normalize : bool, default False
3156+
Normalize start/end dates to midnight before generating date range.
31513157
weekday : int or None, default None
31523158
Always generate specific day of week.
31533159
0 for Monday and 6 for Sunday.
@@ -3398,6 +3404,9 @@ cdef class LastWeekOfMonth(WeekOfMonthMixin):
33983404
Parameters
33993405
----------
34003406
n : int, default 1
3407+
The number of months represented.
3408+
normalize : bool, default False
3409+
Normalize start/end dates to midnight before generating date range.
34013410
weekday : int {0, 1, ..., 6}, default 0
34023411
A specific integer for the day of the week.
34033412
@@ -4150,6 +4159,8 @@ cdef class CustomBusinessHour(BusinessHour):
41504159
Start time of your custom business hour in 24h format.
41514160
end : str, time, or list of str/time, default: "17:00"
41524161
End time of your custom business hour in 24h format.
4162+
offset : timedelta, default timedelta(0)
4163+
Time offset to apply.
41534164
41544165
Examples
41554166
--------

0 commit comments

Comments
 (0)