python acf and pacf code

Solutions on MaxInterview for python acf and pacf code by the best coders in the world

showing results for - "python acf and pacf code"
Ilaria
07 Jun 2019
1fig = plt.figure(figsize=(12,8))
2ax1 = fig.add_subplot(211)
3fig = sm.graphics.tsa.plot_acf(dta.values.squeeze(), lags=40, ax=ax1)
4ax2 = fig.add_subplot(212)
5fig = sm.graphics.tsa.plot_pacf(dta, lags=40, ax=ax2)
6