Skip to content
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

Minutely resampling needs to be independent of start timestamp #1165

Closed
wesm opened this issue Apr 29, 2012 · 0 comments
Closed

Minutely resampling needs to be independent of start timestamp #1165

wesm opened this issue Apr 29, 2012 · 0 comments
Labels
Bug Datetime Datetime data dtype
Milestone

Comments

@wesm
Copy link
Member

wesm commented Apr 29, 2012

Date ranges are very naively generated:

In [44]: ts.resample('5min')
Out[44]: 
2000-01-01 00:00:00   -0.744244
2000-01-01 00:05:00   -0.934083
2000-01-01 00:10:00    0.198829
2000-01-01 00:15:00    1.786013
Freq: 5T

In [45]: ts[2:].resample('5min')
Out[45]: 
2000-01-01 00:02:00   -0.903645
2000-01-01 00:07:00   -0.496863
2000-01-01 00:12:00    0.461970
2000-01-01 00:17:00         NaN
Freq: 5T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Datetime Datetime data dtype
Projects
None yet
Development

No branches or pull requests

1 participant