Hello Dono,
Thanks for reaching out, the prophet package only works when the dataframe inputted follows the format: ds and y.
Where ds represents a date in the format (YYYY-MM-DD) or a timestamp (YYYY-MM-DD HH:MM:SS) and y represents the target variable which you are trying to forecast.
Based on the error message it seems that the columns of your dataframe might not have the correct headers (ds) and (y) respectively. As such, could you try renaming the column headers for your data frame and try running the code again?
I hope this helps. 😊