add new rows to df code example Example: append one row to pandas dataframe df = df.append({'index1': value1, 'index2':value2,...}, ignore_index=True)