code: def test_renumber_common_col_names():
      """
      Ensure that commonly-used column names in the input do not conflict with
      names used internally by NumberMap.
      """
      # test multi-column ("legacy" renumbering code path)
      gdf = cudf.DataFrame(
          {
              "src": [0, 1, 2],
              "dst": [1, 2, 3],
              "weights": [0.1, 0.2, 0.3],
              "col_a": [8, 1, 82],
              "col_b": [1, 82, 3],
              "col_c": [9, 7, 2],
              "col_d": [1, 2, 3],
          }
      )
  
      renumbered_df, renumber_map = NumberMap.renumber(
          gdf, ["col_a", "col_b"], ["col_c", "col_d"]
      )
  
      assert renumber_map.renumbered_src_col_name != "src"
      assert renumber_map.renumbered_dst_col_name != "dst"
      assert (
          renumber_map.renumbered_src_col_name in renumbered_df.columns
      )
      assert (
          renumber_map.renumbered_dst_col_name in renumbered_df.columns
      )
  
      # test experimental renumbering code path
      gdf = cudf.DataFrame(
          {
              "src": [0, 1, 2],
              "dst": [1, 2, 3],
              "weights": [0.1, 0.2, 0.3],
              "col_a": [0, 1, 2],
              "col_b": [1, 2, 3],
          }
      )
  
      renumbered_df, renumber_map = NumberMap.renumber(
          gdf, "col_a", "col_b"
      )
  
      assert renumber_map.renumbered_src_col_name != "src"
      assert renumber_map.renumbered_dst_col_name != "dst"
      assert (
          renumber_map.renumbered_src_col_name in renumbered_df.columns
      )
      assert (
          renumber_map.renumbered_dst_col_name in renumbered_df.columns
      )
  
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 5 for calling a global function with example usage: test_renumber_common_col_names() without return types