Table Of Contents

Search

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

pandas.tseries.offsets.Week

class pandas.tseries.offsets.Week(n=1, normalize=False, weekday=None)[source]

Weekly offset.

Parameters:
weekday : int, default None

Always generate specific day of week. 0 for Monday

Attributes

base Returns a copy of the calling offset object with n=1 and all other attributes equal.
freqstr  
kwds  
name  
nanos  
rule_code  

Methods

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  
apply_index  
copy  
isAnchored  
onOffset  
Scroll To Top