code: def convert_to_cudf(cp_arrays):
      """
      create a cudf DataFrame from cupy arrays
      """
      cupy_vertices, cupy_values = cp_arrays
      df = cudf.DataFrame()
      df["vertex"] = cupy_vertices
      df["katz_centrality"] = cupy_values
      return df
  
file_path: cugraph/python/cugraph/cugraph/dask/centrality/katz_centrality.py
imports: from dask.distributed import wait, default_client
  from pylibcugraph import ResourceHandle, katz_centrality
  import cugraph.dask.comms.comms
  import dask_cudf
  import cudf
  import warnings
label_desc: Use image node_id 2 for calling a global function with example usage: convert_to_cudf(cp_arrays) and returns: df