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

Closed
y-p opened this Issue May 10, 2013 · 3 comments

Comments

Projects
None yet
2 participants
Contributor

y-p 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
Contributor

jreback commented May 10, 2013

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

jreback was assigned May 10, 2013

Contributor

jreback commented May 10, 2013

easy

Contributor

jreback commented May 10, 2013

closed by #3564

jreback closed this May 10, 2013

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