Skip to content

Exception during resample w/ tz #8601

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
gbakalian opened this issue Oct 22, 2014 · 4 comments
Closed

Exception during resample w/ tz #8601

gbakalian opened this issue Oct 22, 2014 · 4 comments
Labels
Bug Resample resample method Timezones Timezone data dtype
Milestone

Comments

@gbakalian
Copy link

xref #8653

Having a similar issue

idx = date_range('2014-10-08 00:00','2014-10-09 00:00', freq='D', tz='Europe/Berlin')
pd.Series(5, idx).resample('MS')

ValueError: Values falls after last bin

While if I remove the tz :

idx = date_range('2014-10-08 00:00','2014-10-09 00:00', freq='D')
pd.Series(5, idx).resample('MS')

that works perfectly

version : '0.15.0rc1'

@jreback
Copy link
Contributor

jreback commented Oct 22, 2014

hmm, that does look buggy. FYI, should should actually past the exception in as well. 'crashed' is not that informative.

@jreback jreback added Bug Resample resample method labels Oct 22, 2014
@jreback jreback added this to the 0.15.1 milestone Oct 22, 2014
@ischwabacher
Copy link
Contributor

How appropriate that #8601 is a time zone issue...

@nehalecky
Copy link
Contributor

@ischwabacher, hahaha. kudos.

@jreback
Copy link
Contributor

jreback commented Nov 6, 2014

closing as dupe of #5172 for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Resample resample method Timezones Timezone data dtype
Projects
None yet
Development

No branches or pull requests

4 participants