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