fbprophet 中的 freq='M' 和 freq='D' 有什么区别?
what is the difference between freq='M' and freq='D' in fbprophet?
在 fbprophet 库中
有什么区别:
第一:
future = model.make_future_dataframe(periods=7,freq='M')
第二个:
future = model.make_future_dataframe(periods=7,freq='D')
基本上,fbprophet 的 make_future_dataframe()
如前所述 here, is a wrapper on pd.date_range. It supports a wide range of freq options, from which D stands for day and M for month. You can check out all the possibilities in pandas docs.
在 fbprophet 库中
有什么区别:
第一:
future = model.make_future_dataframe(periods=7,freq='M')
第二个:
future = model.make_future_dataframe(periods=7,freq='D')
基本上,fbprophet 的 make_future_dataframe()
如前所述 here, is a wrapper on pd.date_range. It supports a wide range of freq options, from which D stands for day and M for month. You can check out all the possibilities in pandas docs.