code: def _stattools_make_df(
      corr: np.ndarray, conf: np.ndarray
  ) -> pd.DataFrame:
      df_corr = pd.DataFrame(
          {
              "lag": np.arange(len(corr)),
              "correlation": corr,
              "low": conf[:, 0] - corr,
              "up": conf[:, 1] - corr,
          }
      )
      df_corr.loc[0, ["low", "up"]] = np.nan
      return df_corr
  
file_path: tslumen/tslumen/profile/correlation.py
imports: from typing import Optional, Tuple
  import numpy
  import pandas
  from statsmodels.tsa import stattools
  from tslumen.profile.base import ProfilingFunction
label_desc: Use image node_id 1 for calling a global function with example usage: _stattools_make_df(corr, conf) and returns: df_corr