code: def reverse_edges(df: Union[dask_cudf.DataFrame, cudf.DataFrame]):
      return df.rename(columns={"_SRC_": "_DST_", "_DST_": "_SRC_"})
  
file_path: cugraph/python/cugraph-dgl/cugraph_dgl/dataloading/utils/extract_graph_helpers.py
imports: from __future__ import annotations
  from typing import Tuple, Dict, Union
  import cugraph
  import cudf
  import dask_cudf
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: reverse_edges(df) and returns: df