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

df.from_records should be consistent in handling empty data arg #3562

Closed
ghost opened this issue May 10, 2013 · 3 comments · Fixed by #3564
Closed

df.from_records should be consistent in handling empty data arg #3562

ghost opened this issue May 10, 2013 · 3 comments · Fixed by #3564
Assignees
Labels
Milestone

Comments

@ghost
Copy link

ghost commented May 10, 2013

carried over from #3487

DataFrame.from_records([], columns=['a','b','c'])

Empty DataFrame
Columns: [a, b, c]
Index: []

vs.

DataFrame.from_records([], columns=['a','b','b'])

AssertionError: Number of manager items must equal union of block items
@jreback
Copy link
Contributor

jreback commented May 10, 2013

yep....I think its a failure in the dup columns....will take a look

@jreback
Copy link
Contributor

jreback commented May 10, 2013

easy

@jreback
Copy link
Contributor

jreback commented May 10, 2013

closed by #3564

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant