0

I am trying to implement forecast model using azure databricks and try to execute all the prediction but some of the source data if I am using my forecast analysis, I am getting as below error. i have tried to add the filter the row less then 2 NAN but not able to fix the issues.

enter image description here

PythonException: 'ValueError: Dataframe has less than 2 non-NaN

above the dataframe we are passing to our forecast method which is trying to fit our model.

enter image description here

Developer KE
  • 71
  • 1
  • 2
  • 14
  • Just copy-pasting your previous question is not an improvement, remove all the useless code, make your problem minimal, provide a clear minimal and reproducible example. Make it easy to understand the question and to help you. – mozway Mar 29 '23 at 14:17

0 Answers0