pandas.tseries.offsets.LastWeekOfMonth
-
class pandas.tseries.offsets.LastWeekOfMonth(n=1, normalize=False, weekday=0)
[source] -
Describes monthly dates in last week of month like “the last Tuesday of each month”.
Parameters: -
n : int, default 1
-
weekday : {0, 1, …, 6}, default 0
-
0: Mondays 1: Tuesdays 2: Wednesdays 3: Thursdays 4: Fridays 5: Saturdays 6: Sundays
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
Vectorized apply of DateOffset to DatetimeIndex, raises NotImplentedError for offsets without a vectorized implementation. 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 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.24.2/reference/api/pandas.tseries.offsets.LastWeekOfMonth.html