If you want to append a Python dictionary to a Pandas DataFrame, you can do this:

1
2
3
4
5
6
7
8
# Create a new DataFrame
output = pd.DataFrame()

# Append the dictionary by ignoring the index
output = output.append(dictionary, ignore_index=True)

# View the new DataFrame
print(output.head())

Notice the reassignment output = output.append(...)