code: def convert_to_cudf(cp_arrays):
      """
      Creates a cudf DataFrame from cupy arrays from pylibcugraph wrapper
      """
      cupy_vertices, cupy_core_number = cp_arrays
      df = cudf.DataFrame()
      df["vertex"] = cupy_vertices
      df["core_number"] = cupy_core_number
  
      return df
  
imports: from dask.distributed import wait, default_client
  import cugraph.dask.comms.comms
  import dask_cudf
  import cudf
  from pylibcugraph import ResourceHandle, core_number
label_desc: Use image node_id 1 for calling a global function with example usage: convert_to_cudf(cp_arrays) and returns: df