Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 209890

R Prophet: Issue with Forward Monthly Dates generated using make_future_dataframe function

$
0
0

I have dataset with ds and y columns. The ds column has last day of each month as shown below:

2018-09-30
2018-10-31
2018-11-30
2018-12-31
2019-01-31
2019-02-28

When I use to extend the dataframe forward using make_future_dataframe function, I'm getting wrong dates as shown below:

2019-05-01
2019-05-31
2019-07-01
2019-07-31
2019-08-31
2019-10-01

I'm following this tutorial to create the future dataframe using monthly data: https://facebook.github.io/prophet/docs/non-daily_data.html#monthly-data


Viewing all articles
Browse latest Browse all 209890


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>