code: def convert_to_cudf(cp_arrays):
      """
      Creates a cudf DataFrame from cupy arrays from pylibcugraph wrapper
      """
      cupy_src_vertices, cupy_dst_vertices, cupy_weights = cp_arrays
      df = cudf.DataFrame()
      df["src"] = cupy_src_vertices
      df["dst"] = cupy_dst_vertices
      df["weights"] = cupy_weights
  
      return df
  
file_path: cugraph/python/cugraph/cugraph/dask/cores/k_core.py
imports: from dask.distributed import wait, default_client
  import cugraph.dask.comms.comms
  from cugraph.dask.common.input_utils import get_distributed_data
  import dask_cudf
  import cudf
  import cugraph.dask
  from pylibcugraph import ResourceHandle, k_core
label_desc: Use image node_id 1 for calling a global function with example usage: convert_to_cudf(cp_arrays) and returns: df