ARIMA.fit() got an unexpected keyword argument 'disp'
时间: 2023-10-03 18:09:30 浏览: 262
The error message suggests that the `ARIMA.fit()` method of the `statsmodels` library does not recognize the `disp` argument. This argument is used to control the amount of output displayed during the fitting process, but it may not be supported by your version of the library.
To fix this error, you can either remove the `disp` argument from the `ARIMA.fit()` method call or upgrade your `statsmodels` library to a version that supports this argument. You can try upgrading the library using the following command in your terminal:
```
pip install statsmodels --upgrade
```
If upgrading the library does not work, you can try removing the `disp` argument and see if the `ARIMA.fit()` method runs without errors.
相关推荐
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)