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