Getting the error AttributeError: 'DataFrame' object has no attribute 'append
When trying to run the following:
new_df.append({'Obs_Date': day_row['Obs_Date'], 'From_Currency': day_row['From_Currency'],
'To_Currency': day_row['To_Currency'], 'Rate': day_row['Rate'],
'PE_Rate': av_last_month, 'Mon_End_Rate': rate_end_last_mon}, ignore_index = True)
Tried using pd.concat but that is causing a separate error:
NameError: name 'p' is not defined
1