coreforecast.differences
num_diffs
x
(np.ndarray): Array with the time series.max_d
(int, optional): Maximum number of differences to consider. Defaults to 1.int
: Optimal number of differences.num_seas_diffs
x
(np.ndarray): Array with the time series.season_length
(int): Length of the seasonal pattern.max_d
(int, optional): Maximum number of differences to consider. Defaults to 1.int
: Optimal number of seasonal differences.diff
x
(np.ndarray): Array with the time series.d
(int): Lag to subtractnp.ndarray
: Differenced time series.