Python 中的 ARIMA 模型
James Fulton
Climate informatics researcher









from statsmodels.graphics.tsaplots import plot_acf, plot_pacf
# 创建图形 fig, (ax1, ax2) = plt.subplots(2,1, figsize=(8,8))# 绘制 ACF 图 plot_acf(df, lags=10, zero=False, ax=ax1)# 绘制 PACF 图 plot_pacf(df, lags=10, zero=False, ax=ax2) plt.show()



Python 中的 ARIMA 模型