How do I add a new row to my dataframe, with values that are based on the column names?
For example
Dog = 'happy'
Cat = 'sad'
df = pd.DataFrame(columns=['Dog', 'Cat'])
I want to add a new line to the dataframe where is pulls in the variable of the column heading
Dog Cat
0 happy sad