code: def test_mg_renumber(graph_file, dask_client):
      M = utils.read_csv_for_nx(graph_file)
      sources = cudf.Series(M["0"])
      destinations = cudf.Series(M["1"])
  
      translate = 1000
  
      gdf = cudf.DataFrame()
      gdf["src_old"] = sources
      gdf["dst_old"] = destinations
      gdf["src"] = sources + translate
      gdf["dst"] = destinations + translate
  
      ddf = dask.dataframe.from_pandas(
          gdf, npartitions=len(dask_client.scheduler_info()["workers"])
      )
  
      # preserve_order is not supported for MG
      renumbered_df, renumber_map = NumberMap.renumber(
          ddf,
          ["src", "src_old"],
          ["dst", "dst_old"],
          preserve_order=False,
      )
      unrenumbered_df = renumber_map.unrenumber(
          renumbered_df,
          renumber_map.renumbered_src_col_name,
          preserve_order=False,
      )
      unrenumbered_df = renumber_map.unrenumber(
          unrenumbered_df,
          renumber_map.renumbered_dst_col_name,
          preserve_order=False,
      )
  
      # sort needed only for comparisons, since preserve_order is False
      gdf = gdf.sort_values(by=["src", "src_old", "dst", "dst_old"])
      gdf = gdf.reset_index()
      unrenumbered_df = unrenumbered_df.compute()
      src = renumber_map.renumbered_src_col_name
      dst = renumber_map.renumbered_dst_col_name
      unrenumbered_df = unrenumbered_df.sort_values(
          by=[f"0_{src}", f"1_{src}", f"0_{dst}", f"1_{dst}"]
      )
      unrenumbered_df = unrenumbered_df.reset_index()
  
      assert_series_equal(
          gdf["src"], unrenumbered_df[f"0_{src}"], check_names=False
      )
      assert_series_equal(
          gdf["src_old"], unrenumbered_df[f"1_{src}"], check_names=False
      )
      assert_series_equal(
          gdf["dst"], unrenumbered_df[f"0_{dst}"], check_names=False
      )
      assert_series_equal(
          gdf["dst_old"], unrenumbered_df[f"1_{dst}"], check_names=False
      )
  
imports: import gc
  import pytest
  import pandas
  import numpy
  import dask
  import cudf
  import dask_cudf
  import cugraph.dask
  import cugraph
  from cugraph.testing import utils
  from cugraph.structure.number_map import NumberMap
  from cugraph.dask.common.mg_utils import is_single_gpu
  from cugraph.testing.utils import RAPIDS_DATASET_ROOT_DIR_PATH
  from cudf.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 2 for calling a global function with example usage: test_mg_renumber(graph_file, dask_client) without return types