code: def data():
      """Generate data for tests"""
      df = gen_sliced_df()
      df = df[["x", "z_categ", "y", "y_hat", "residual"]]
      new_df = df.iloc[
          [1, 100, 150, 200, 250, 300, 305, 400, 405, 500, 550, 609]
      ].reset_index(drop=True)
      return {"df": df, "new_df": new_df}
  
file_path: greykite/greykite/tests/algo/uncertainty/conditional/test_conf_interval.py
imports: import numpy
  import pytest
  from greykite.algo.uncertainty.conditional.conf_interval import conf_interval
  from greykite.algo.uncertainty.conditional.conf_interval import predict_ci
  from greykite.common.constants import ERR_STD_COL
  from greykite.common.constants import QUANTILE_SUMMARY_COL
  from greykite.common.testing_utils import gen_sliced_df
label_desc: Use image node_id 1 for calling a global function with example usage: data() and returns: dict