df.loc[idx:, ('Expand_Mean')] = df['Expand_Mean'].combine_first(df['Close'])
df['12 Day EMA'] = df['Expand_Mean'].ewm(alpha=myalpha, adjust=False).mean()
df
Adding a column (EMA) thats result of previous new column value in pandas