code: def get_diffs(
      data: pd.Series,
      order_list: Optional[List[Any]] = None,
      lags_list: Optional[List[Any]] = None,
  ) -> Tuple[List[pd.Series], List[str]]:
      """Returns the requested differences of the provided `data`
      Either `order_list` or `lags_list` can be provided but not both.
  
      Refer to the following for more details:
      https://www.sktime.org/en/latest/api_reference/auto_generated/sktime.transformations.series.difference.Differencer.html
      Note: order = 2 is equivalent to lags = [1, 1]
  
      Parameters
      ----------
      data : pd.Series
          Data whose differences have to be computed
      order_list : Optional[List[Any]], optional
          order of the differences, by default None
      lags_list : Optional[List[Any]], optional
          lags of the differences, by default None
  
      Returns
      -------
      Tuple[List[pd.Series], List[str]]
          (1) List of differences per the order_list or lags_list AND
          (2) Names corresponding to the differences
      """
  
      lags_list_, names = _reconcile_order_and_lags(
          order_list=order_list, lags_list=lags_list
      )
      diffs = _get_diffs(data=data, lags_list=lags_list_)
      return diffs, names
  
imports: import math
  import re
  import warnings
  from enum import Enum, IntEnum
  from typing import Any, Dict, List, Optional, Tuple
  import numpy
  import pandas
  from pmdarima.arima.utils import ndiffs
  from sktime.param_est.seasonality import SeasonalityACF
  from sktime.transformations.series.difference import Differencer
  from sktime.utils.plotting import plot_series
label_desc: Use image node_id 3 for calling a global function with example usage: get_diffs(data, order_list, lags_list) and returns: diffs,  names