pd.dataframe append row code example
Example 1: r dataframe append row
df[nrow(df) + 1,] = c("v1","v2")
Example 2: add new row to dataframe pandas
# Add a new row at index k with values provided in list
dfObj.loc['k'] = ['Smriti', 26, 'Bangalore', 'India']