code: def renumber_vertices(input_graph, input_df):
      if len(input_graph.renumber_map.implementation.col_names) > 1:
          cols = input_df.columns[:-1].to_list()
      else:
          cols = "vertex"
      input_df = input_graph.add_internal_vertex_id(
          input_df, "vertex", cols
      )
  
      return input_df
  
file_path: cugraph/python/cugraph/cugraph/link_analysis/pagerank.py
imports: import warnings
  import cudf
  import numpy
  from pylibcugraph import pagerank, personalized_pagerank, exceptions, ResourceHandle
  from cugraph.utilities import ensure_cugraph_obj_for_nx, df_score_to_dictionary
  from cugraph.exceptions import FailedToConvergeError
label_desc: Use image node_id 1 for calling a global function with example usage: renumber_vertices(input_graph, input_df) and returns: input_df