Difference a series simply and/or seasonally along the zero-th axis.
Given a series (denoted y_t), performs the differencing operation
\Delta^d \Delta_s^D y_t
where d = diff, s = k_seasons, D = seasonal_diff, and \Delta is the difference operator.
Parameters: | series : array_like
diff : int, optional
seasonal_diff : int or None, optional
k_seasons : int, optional
|
---|---|
Returns: | differenced : array
|