Skip to content

Commit 8d1b555

Browse files
committed
Update start/end parameter documentation for BusinessHour and CustomBusinessHour to mention allowed input types of time and list of str/time
1 parent 634196a commit 8d1b555

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/_libs/tslibs/offsets.pyx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,9 +1613,9 @@ cdef class BusinessHour(BusinessMixin):
16131613
Normalize start/end dates to midnight before generating date range.
16141614
weekmask : str, Default 'Mon Tue Wed Thu Fri'
16151615
Weekmask of valid business days, passed to ``numpy.busdaycalendar``.
1616-
start : str, default "09:00"
1616+
start : str, time, or list of str/time, default "09:00"
16171617
Start time of your custom business hour in 24h format.
1618-
end : str, default: "17:00"
1618+
end : str, time, or list of str/time, default: "17:00"
16191619
End time of your custom business hour in 24h format.
16201620
16211621
Examples
@@ -3578,9 +3578,9 @@ cdef class CustomBusinessHour(BusinessHour):
35783578
Normalize start/end dates to midnight before generating date range.
35793579
weekmask : str, Default 'Mon Tue Wed Thu Fri'
35803580
Weekmask of valid business days, passed to ``numpy.busdaycalendar``.
3581-
start : str, default "09:00"
3581+
start : str, time, or list of str/time, default "09:00"
35823582
Start time of your custom business hour in 24h format.
3583-
end : str, default: "17:00"
3583+
end : str, time, or list of str/time, default: "17:00"
35843584
End time of your custom business hour in 24h format.
35853585
35863586
Examples

0 commit comments

Comments
 (0)