def statistics(model):
    Data['model']=pd.DataFrame(data=np.array([np.amax(model),
                               ME(ts,model),MAE(ts,model),
                               MAPE(ts,model)]))
    print(Data)
statistics(moving_avg) #calling the function
#result
  STATS        model
0   MAX  2359.699429
1    ME     4.521675
2   MAE   348.487434
3  MAPE    48.352464
The above is my code in PYTHON to insert the statistics of different models into a common table named Data However, the column name of the table is displayed as 'model' and not 'moving_avg'. How do I make sure that I get proper column names?
 
     
    