关于Prophet的二三事--错误1(FutureWarning: The frame.append method is deprecated and will be removed from pa)

情况:在运行prophet时出现的红字
错误:FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.

点击红字前面的蓝字会调到prophet.forecaster源文件,然后对其进行修改,因为错误是这里原先是append什么的,要弃用,得用pd.concat。
在参考一个大佬给出的修改方式后
将源文件的红线这一行修改成了下图所示,保存退出后再运行你的文件,就不会再出现红字了。
关于Prophet的二三事--错误1(FutureWarning: The frame.append method is deprecated and will be removed from pa)_第1张图片

你可能感兴趣的:(pandas)