df.from_records should be consistent in handling empty data
arg · Issue #3562 · pandas-dev/pandas (original) (raw)
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