Skip to content

BUG: loffset argument not applied for resample().count() on timeseries #12757

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

Closed
wants to merge 6 commits into from

Conversation

onesandzeroes
Copy link
Contributor

The code to do this already existed in the _downsample method, which is called when using functions like mean. max, etc., but there was nothing in the _groupby_and_aggregate method used for count and size. If we pull out the offset code from the _downsample method into a separate method, we can reuse it without duplicating it.

@jreback jreback changed the title BUG: loffset argument not applied for resample().count() on timeseries BUG: loffset argument not applied for resample().count() on timeseries Mar 31, 2016
@jreback
Copy link
Contributor

jreback commented Mar 31, 2016

@onesandzeroes perfect!

@jreback jreback added Bug Resample resample method labels Mar 31, 2016
@jreback jreback added this to the 0.18.1 milestone Mar 31, 2016
@jreback jreback closed this in b6959c8 Mar 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Resample resample method
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Loffset doesn't work when resampling with count()
2 participants