I am trying to predict yield of paddy using annual yield data of past 57 years. I have used auto_arima function on train data in python and got ARIMA with order (0,1,1) as the best model.
while predicting the values using this model, NaN is obtained as predicted values.
prediction = pd.DataFrame(arima_model.predict(n_periods=12),index = test.index)
The returned error:
ValueWarning: No supported index is available. Prediction results will be given with an integer index beginning at
start
.return get_prediction_index(