pandas.tseries.offsets.YearBegin¶
-
class
pandas.tseries.offsets.YearBegin(n=1, normalize=False, month=None)[source]¶ DateOffset increments between calendar year begin dates.
Attributes
baseReturns a copy of the calling offset object with n=1 and all other attributes equal. kwdsnamenanosrule_codeMethods
__call__apply(other)apply_indexcopyisAnchored()onOffset(dt)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.