pandas.tseries.offsets.BusinessHour
-
class pandas.tseries.offsets.BusinessHour(n=1, normalize=False, start='09:00', end='17:00', offset=datetime.timedelta(0))
[source] -
DateOffset subclass representing possibly n business days.
New in version 0.16.1.
Attributes
base
Returns a copy of the calling offset object with n=1 and all other attributes equal. next_bday
Used for moving to next business day. offset
Alias for self._offset. freqstr kwds name nanos rule_code Methods
apply_index
Vectorized apply of DateOffset to DatetimeIndex, raises NotImplentedError for offsets without a vectorized implementation. rollback
(dt)Roll provided date backward to next offset only if not on offset. rollforward
(dt)Roll provided date forward to next offset only if not on offset. __call__ apply copy isAnchored onOffset
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.24.2/reference/api/pandas.tseries.offsets.BusinessHour.html