Differencing

Differencing replaces each value with its difference from the previous one (or from the one a season earlier) to remove a trend or a seasonality and make the series stationary. It is computed with diff(), and performed on the past only. ARIMA's order of integration depends on it.

Example

serie.diff().dropna()

Related concepts

The whole glossary