pandas.Series.autocorr

Series.autocorr(lag=1)[source]

Lag-N autocorrelation

Parameters:

lag : int, default 1

Number of lags to apply before performing autocorrelation.

Returns:

autocorr : float