LastWeekOfMonth DateOffset · Issue #4637 · pandas-dev/pandas (original) (raw)

Create a DateOffset that represents the a weekday in last week of the month, such as "the last Tuesday of each month"

Currently there is a WeekOfMonth DateOffset but that class only takes week : {0, 1, 2, 3, ...}. What we actually want is week=-1

I will submit a PR.