Autocorrelation measures the correlation of a series with its own lagged values. The autocorrelation function (ACF) and its partial version (PACF) reveal seasonality, persistence, or the order of an ARIMA model. Peaks outside the confidence interval indicate significant dependence.
Example
plot_acf(serie, lags=40)