On using the Python library 'fbprophet' it throw the error, TypeError: 'module' object is not callable
import fbprophet as Prophet
m = Prophet(weekly_seasonality= True)
on executing it throws this error,
Traceback (most recent call last):
File "<ipython-input-7-53e30b441246>", line 1, in <module>
m = Prophet(weekly_seasonality= True)
TypeError: 'module' object is not callable
解决使用
m = Prophet.Prophet(weekly_seasonality= True)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.