pandas.tseries.offsets.Week

class pandas.tseries.offsets.Week

Weekly offset.

Parameters
weekdayint or None, 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

n

name

nanos

normalize

rule_code

weekday

Methods

__call__(*args, **kwargs)

Call self as a function.

rollback

Roll provided date backward to next offset only if not on offset.

rollforward

Roll provided date forward to next offset only if not on offset.

apply

apply_index

copy

isAnchored

is_anchored

is_on_offset

onOffset