code: def add_tn_cat_conf_bounds(data: pd.DataFrame, tss_args):
      data["confidence"] = data["confidence"].astype(object)
      for idx, row in data.iterrows():
          data["confidence"].iloc[idx] = [
              row["confidence"] for _ in range(tss_args.horizon)
          ]
      return data
  
file_path: lightwood/lightwood/helpers/ts.py
imports: from typing import Tuple, Dict
  from datetime import datetime
  import numpy
  import pandas
label_desc: Use image node_id 5 for calling a global function with example usage: add_tn_cat_conf_bounds(data, tss_args) and returns: data