I created a pandas dataframe from a dictionary where the index is the key from the dictionary.
data = {'row_1': [1], 'row_2': [2], 'row_3': [3]}
df = pd.DataFrame.from_dict(data, orient='index')
>>>df
0
row_1 1
row_2 2
row_3 3
new_row = {'row_4': [4]}
How can I append the new row to the df in the same structure?