code: def renumber_ddf(dask_df):
      vertices = (
          dask_cudf.concat([dask_df["src"], dask_df["dst"]])
          .unique()
          .reset_index(drop=True)
      )
  
      vertices.name = "v"
      vertices = (
          vertices.reset_index()
          .set_index("v")
          .rename(columns={"index": "m"})
      )
  
      src = dask_df.merge(
          vertices, left_on="src", right_on="v", how="left"
      ).m.rename("src")
      dst = dask_df.merge(
          vertices, left_on="dst", right_on="v", how="left"
      ).m.rename("dst")
      df = src.to_frame()
      df["dst"] = dst
  
      return df.reset_index(drop=True)
  
imports: import logging
  import warnings
  import argparse
  import traceback
  from cugraph.testing.mg_utils import generate_edgelist_rmat, get_allocation_counts_dask_lazy, sizeof_fmt, get_peak_output_ratio_across_workers, start_dask_client, stop_dask_client, enable_spilling
  from cugraph.structure.symmetrize import symmetrize
  from cugraph.gnn import BulkSampler
  import cugraph
  import json
  import re
  import os
  import gc
  from time import sleep, perf_counter
  from math import ceil
  import pandas
  import numpy
  import cupy
  import cudf
  import dask_cudf
  import dask.dataframe
  from dask.distributed import default_client
  from cugraph.dask import get_n_workers
  from typing import Optional, Union, Dict
label_desc: Use image node_id 3 for calling a global function with example usage: renumber_ddf(dask_df) and returns: df