add the last row of one dataframe to another pandas dataframe code example Example: add rows to dataframe pandas df = df.append({'a':1, 'b':2}, ignore_index=True)