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
Closed

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

wesm opened this issue Jul 26, 2012 · 0 comments
Assignees
Labels
Milestone

Comments

@wesm
Copy link
Member

wesm 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 as completed in ee9321f Aug 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant