This question might be confusing but I'm trying to add a series as a row to an already created DataFrame. Though if there's a column that's not already been created in the DataFrame I want to add one will NaN and the value from the series.
Here's my series:
w1 0.195870
w3 0.072609
w4 0.332842
w5 0.567370
dtype: float64
and here's my dataframe:
When I do "df.loc[3] = series" I get
I want there to be a completely new column called "w5" filled with NaN all above index 3.

