pandas dataframe append one row code example
Example 1: add rows to dataframe pandas
df = df.append({'a':1, 'b':2}, ignore_index=True)
Example 2: r dataframe append row
df[nrow(df) + 1,] = c("v1","v2")
df = df.append({'a':1, 'b':2}, ignore_index=True)
df[nrow(df) + 1,] = c("v1","v2")