code: def _call_plc_core_number(G, degree_type):
      vertex, core_number = pylibcugraph_core_number(
          resource_handle=ResourceHandle(),
          graph=G._plc_graph,
          degree_type=degree_type,
          do_expensive_check=False,
      )
  
      df = cudf.DataFrame()
      df["vertex"] = vertex
      df["core_number"] = core_number
      return df
  
imports: import cudf
  from pylibcugraph import core_number, k_core, ResourceHandle
  from cugraph.utilities import ensure_cugraph_obj_for_nx, cugraph_to_nx
label_desc: Use image node_id 1 for calling a global function with example usage: _call_plc_core_number(G, degree_type) and returns: df