Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.tseries.offsets.CustomBusinessHour

class pandas.tseries.offsets.CustomBusinessHour(n=1, normalize=False, weekmask='Mon Tue Wed Thu Fri', holidays=None, calendar=None, start='09:00', end='17:00', offset=datetime.timedelta(0))[source]

DateOffset subclass representing possibly n custom business days

New in version 0.18.1.

Attributes

next_bday used for moving to next businessday
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  
Scroll To Top