'pandas._libs.properties.CachedProperty' object has no attribute 'func'

建立ARIMA模型分析股指时系统报错

原代码model = arima = ARIMA(dta4.dropna(),(0,1,0)).fit()

系统报错
AttributeError: 'pandas._libs.properties.CachedProperty' object has no attribute 'func'

求帮助

安装最新的 statsmodels 包
安装后调用时需要改一下代码:

import statsmodels.api as sm
model = sm.tsa.ARIMA(sq_data, order=(p,d,q)).fit()

我也遇到了这个问题,请问您是如何解决的

大佬们解决了吗