pandas.DataFrame.append

DataFrame.append(other, ignore_index=False, verify_integrity=False)

Append columns of other to end of this frame’s columns and index, returning a new object. Columns not in this frame are added as new columns.

Parameters:

other : DataFrame or list of Series/dict-like objects

ignore_index : boolean, default False

If True do not use the index labels. Useful for gluing together record arrays

verify_integrity : boolean, default False

If True, raise ValueError on creating index with duplicates

Returns:

appended : DataFrame

Notes

If a list of dict is passed and the keys are all contained in the DataFrame’s index, the order of the columns in the resulting DataFrame will be unchanged