I am trying to forecast values using auto_ts library, the input i am passing is a date format which has first date of every month like 2021-11-01 whereas the forecasted values have a date range as last date of every month like 2021-11-30.
Is there a way to change the date range of predicted values to first date of every month?
The issue you are seeing is because autots uses the
pandas
dataframe to infer the frequency.pandas
by default does end-of-month for its monthly spacing. To get start of month, you can usefrequency ='MS'
to get start-of-month: