-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
MonthOffset() gives increase of 1 day instead of 1 month #7707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
as noted in #7375. This (and doc-string should be expanded as well. |
you need to specify month=1 and it will work |
Hmmm, + seems to set the month:
|
This is semi-closed by #18375. MonthOffset should never be used directly, will now raise NotImplementedError if you try the addition or Or they could be adapted so that the base classes are non-anchored and just increment by 1, 3, and 12 months respectively. |
@jbrockmendel ok, can you add this to the API breaking section and add some tests that these now raise NotImplementedError (use #18375 issue). |
Out of town for a couple days, will address then when no longer typing with thumbs |
Any chance this will be fixed for the next release? |
apply() on object pandas.offsets.MonthOffsets() became obsolete, see pandas-dev/pandas#7707 (comment). Caused NotImplementedErrors with SARAH and ERA5 cutouts.
apply() on object pandas.offsets.MonthOffsets() became obsolete, see pandas-dev/pandas#7707 (comment). Caused NotImplementedErrors with SARAH and ERA5 cutouts.
apply() on object pandas.offsets.MonthOffsets() became obsolete, see pandas-dev/pandas#7707 (comment) setup: set pandas version requirement.
Looks like this has been effectively privatized. Going to close.
|
From #7375 (comment):
The text was updated successfully, but these errors were encountered: