Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

read_csv: Tz-aware datetime.datetime cannot be converted to datetime64 #1693

Closed
khughitt opened this Issue Jul 27, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

khughitt commented Jul 27, 2012

This may be related to some of the other TimeZone issues.

This worked in 0.8, but now raises an error in 0.8.1:

import pandas
import StringIO

data = StringIO.StringIO("Date,x\n2012-06-13T01:39:00Z,0.5")
pandas.read_csv(data,index_col=0, parse_dates=True)

Error:

ValueError: Tz-aware datetime.datetime cannot be converted to datetime64 unless utc=True

@wesm wesm closed this in 4cafeb0 Aug 10, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment