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

Series with datetime64 dtype causes failure in dict passed to DataFrame #1680

Closed
wesm opened this issue Jul 26, 2012 · 0 comments

Comments

@wesm
Copy link
Member

commented Jul 26, 2012

works:

In [9]: d = pandas.DataFrame({'A': 'foo', 'B': ts.values}, index=dr)

In [10]: d.head()
Out[10]: 
              A                   B
2011-01-07  foo 2011-01-07 00:00:00
2011-01-14  foo 2011-01-14 00:00:00
2011-01-21  foo 2011-01-21 00:00:00
2011-01-28  foo 2011-01-28 00:00:00
2011-02-04  foo 2011-02-04 00:00:00

does not work:

d = pandas.DataFrame({'A': 'foo', 'B': ts.values}, index=dr)

@ghost ghost assigned wesm Jul 26, 2012

@wesm wesm closed this in ee9321f Aug 12, 2012

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