pandas statsmodels 均已升级为最新版本,但是调用时仍出现报错使用的是Python3.7版本 anaconda3 求解决
解决方法:更新statsmodels库pip install -U --pre statsmodels