-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Change defaults for resample #2363
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
Urgh begrudgingly I agree this might be a good idea. Resampling to daily is a pretty big use case and the "right" way to do that is |
maybe the right solution is |
@wesm what do you think of the API change? If we're happy with this I'll add some more tests. |
I was thinking about it, and it seems D is really the only frequency that causes major confusion/problems, no? |
I think anything where the time stamp is the beginning of the period should have closed left and label left. |
Yeah, that's a fair point. Guess I should start a page on the website with "what's changed/broken in pandas since Python for Data Analysis was published" =| |
Or maybe even take all the book example code and maintain it as part of the pandas website? |
* chang/resample-interval: TST: more tests for resample closed and label inference API: change resample to infer correct closed and label value by default #2363
maybe change closed and label both to 'left' to avoid confusion.
The text was updated successfully, but these errors were encountered: