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

Type inference with list of lists in DataFrame constructor #484

Closed
wesm opened this issue Dec 13, 2011 · 1 comment
Closed

Type inference with list of lists in DataFrame constructor #484

wesm opened this issue Dec 13, 2011 · 1 comment
Labels
Milestone

Comments

@wesm
Copy link
Member

wesm commented Dec 13, 2011

per @aristotle137

In [1216]: l = [[1, 'a'], [2, 'b']]
     ...: df = DataFrame(data = l, columns = ["num", "str"])
     ...:

In [1217]: df.dtypes
Out[1217]: num    object
               str    object
wesm added a commit that referenced this issue Dec 13, 2011
…structor, from_records type-handling fixes, GH #484
@wesm
Copy link
Member Author

wesm commented Dec 13, 2011

sorted this out in the above commit. thanks for pointing it out!

@wesm wesm closed this as completed Dec 13, 2011
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