That should work:
>>> df = pd.DataFrame()>>> data = pd.DataFrame({"A": range(3)})>>> df.append(data) A0 01 12 2
But the append
doesn't happen in-place, so you'll have to store the output if you want it:
>>> dfEmpty DataFrameColumns: []Index: []>>> df = df.append(data)>>> df A0 01 12 2