qis.compute_autocorr_df¶
- qis.compute_autocorr_df(df, num_lags=20, axis=0)[source]¶
lagged Pearson autocorrelation of each column, with the lag as the index.
Lag
kcorrelatesx[k:]withx[:-k]over the overlapping observations, each segment with its own mean; lag 0 is one by definition. Missing values are not handled.- Parameters:
- Returns:
autocorrelations indexed by lag, as a Series for a Series input
- Return type: