►
Run
import pandas as pd #initialize a dataframe df = pd.DataFrame({ 'a':[14, 52, 46], 'b':[32, 85, 64], 'c':[88, 47, 36]}) #new row as dictionary row1 = {'a':11, 'b':22, 'c':33} #append row to dataframe df = df.append(row1, ignore_index=True) #print the dataframe print(df)
Output