On this page
pandas.tseries.offsets.Easter
class pandas.tseries.offsets.Easter
[source]-
DateOffset for the Easter holiday using logic defined in dateutil.
Right now uses the revised method which is valid in years 1583-4099.
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
apply_index
(self, other)Vectorized apply of DateOffset to DatetimeIndex, raises NotImplentedError for offsets without a vectorized implementation. 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 copy isAnchored onOffset
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.tseries.offsets.Easter.html