code: def create_dgl_graph_from_df(df):
      src_tensor = torch.as_tensor(df["src"].values)
      dst_tensor = torch.as_tensor(df["dst"].values)
      # Reverse edges to match cuGraph behavior
      g = dgl.graph(data=(dst_tensor, src_tensor))
      return g
  
file_path: cugraph/benchmarks/dgl/pytest-based/dgl_benchmark.py
imports: import pandas
  import os
  import pytest_benchmark
  import pytest
  import torch
  import dgl
label_desc: Use image node_id 2 for calling a global function with example usage: create_dgl_graph_from_df(df) and returns: g