pandas.tseries.offsets.MonthOffset

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

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(self, dt)

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

rollforward(self, dt)

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

__call__

apply

apply_index

copy

isAnchored

is_anchored

is_on_offset

onOffset