pandas append new row. code example
Example 1: r dataframe append row
df[nrow(df) + 1,] = c("v1","v2")
Example 2: append one row to pandas dataframe
df = df.append({'index1': value1, 'index2':value2,...}, ignore_index=True)
df[nrow(df) + 1,] = c("v1","v2")
df = df.append({'index1': value1, 'index2':value2,...}, ignore_index=True)