Table Of Contents

Search

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

pandas.tseries.offsets.CustomBusinessMonthBegin

class pandas.tseries.offsets.CustomBusinessMonthBegin(n=1, normalize=False, weekmask='Mon Tue Wed Thu Fri', holidays=None, calendar=None, offset=datetime.timedelta(0))[source]

DateOffset subclass representing one custom business month, incrementing between beginning of month dates

Parameters:
n : int, default 1

normalize : bool, default False

Normalize start/end dates to midnight before generating date range

weekmask : str, Default ‘Mon Tue Wed Thu Fri’

weekmask of valid business days, passed to numpy.busdaycalendar

holidays : list

list/array of dates to exclude from the set of valid business days, passed to numpy.busdaycalendar

calendar : pd.HolidayCalendar or np.busdaycalendar
offset : timedelta, default timedelta(0)

Attributes

cbday_roll Define default roll function to be called in apply method
month_roll Define default roll function to be called in apply method
offset Alias for self._offset
freqstr  
kwds  
m_offset  
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