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

timezone aware DatetimeIndex from datetime.datetime (regression) #1676

kdebrab opened this issue Jul 25, 2012 · 1 comment


Copy link

commented Jul 25, 2012

The following code worked in pandas 0.8.0b1, but not longer in 0.8.1:

import pandas as pnd
from datetime import datetime
from import tzoffset
values = [188.5, 328.25]
index = [datetime(2012, 5, 11, 11, tzinfo=tzoffset(None, 7200)), datetime(2012, 5, 11, 12, tzinfo=tzoffset(None, 7200))]
series = pnd.Series(data = values, index = index)

What would you propose as a workaround?

Python 2.7.2, Numpy 1.6.1

wesm added a commit that referenced this issue Sep 18, 2012

This comment has been minimized.

Copy link

commented Sep 18, 2012

This has been fixed in the development version. Added your code as a a unit test that is supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.