code: def test_renumber_files_col(graph_file):
      gc.collect()
      dataset_path = graph_file.get_path()
      M = utils.read_csv_for_nx(dataset_path)
      sources = cudf.Series(M["0"])
      destinations = cudf.Series(M["1"])
  
      translate = 1000
  
      gdf = cudf.DataFrame()
      gdf["src"] = cudf.Series(
          [x + translate for x in sources.values_host]
      )
      gdf["dst"] = cudf.Series(
          [x + translate for x in destinations.values_host]
      )
  
      exp_src = cudf.Series(
          [x + translate for x in sources.values_host]
      )
      exp_dst = cudf.Series(
          [x + translate for x in destinations.values_host]
      )
  
      # Brackets are added to the column names to trigger the python renumebring
      renumbered_df, renumber_map = NumberMap.renumber(
          gdf, ["src"], ["dst"], preserve_order=True
      )
  
      unrenumbered_df = renumber_map.unrenumber(
          renumbered_df,
          renumber_map.renumbered_src_col_name,
          preserve_order=True,
      )
      unrenumbered_df = renumber_map.unrenumber(
          unrenumbered_df,
          renumber_map.renumbered_dst_col_name,
          preserve_order=True,
      )
  
      assert_series_equal(
          exp_src,
          unrenumbered_df[renumber_map.renumbered_src_col_name],
          check_names=False,
      )
      assert_series_equal(
          exp_dst,
          unrenumbered_df[renumber_map.renumbered_dst_col_name],
          check_names=False,
      )
  
file_path: cugraph/python/cugraph/cugraph/tests/internals/test_renumber.py
imports: import gc
  import pytest
  import pandas
  import cudf
  from cudf.testing import assert_series_equal
  from cugraph.structure.number_map import NumberMap
  from cugraph.testing import utils, DEFAULT_DATASETS
label_desc: Use image node_id 3 for calling a global function with example usage: test_renumber_files_col(graph_file) without return types