code: def create_cp_result_ls(d):
      cupy_result_ls = []
      for k, df in d.items():
          if len(df) == 0:
              cupy_result_ls.append(cp.empty(shape=0, dtype=cp.int32))
              cupy_result_ls.append(cp.empty(shape=0, dtype=cp.int32))
              cupy_result_ls.append(cp.empty(shape=0, dtype=cp.int32))
          else:
              cupy_result_ls.append(df[src_n].values)
              cupy_result_ls.append(df[dst_n].values)
              cupy_result_ls.append(df[eid_n].values)
      return cupy_result_ls
  
file_path: cugraph/python/cugraph/cugraph/gnn/dgl_extensions/utils/sampling.py
imports: import cugraph
  import cudf
  import cupy
  import dask_cudf
label_desc: Use image node_id 6 for calling a global function with example usage: create_cp_result_ls(d) and returns: cupy_result_ls