-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
DOC: better warning on chained resample(...) #13520
Comments
Actually, this isn't spurious - what I meant to write is this. I'll leave this open - I think the warning could be better, to make it more clear that the df.resample('M').last().pct_change() |
Do you have a suggestion for a better warning? (PR's welcome :-))
It's not fully clear what you mean with this |
I'll do a PR, what I want it to say is (in essence, hopefully in less words) -
What I was actually trying to do is take the month over month percent change - which is what |
yes this is mainly for back-compat. basically in < 0.18.0 you should have been doing
and so in >= 0.18.0 you implicity get this. It IS correct actually. I think the warning could also include the deferred op reference (e.g. You might have a look at |
thanks! |
Code Sample, a copy-pastable example if possible
Expected Output
no warning
output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: