code: def test_jaccard_multi_column(graph_file, use_weight):
      dataset_path = graph_file.get_path()
      M = utils.read_csv_for_nx(dataset_path)
  
      cu_M = cudf.DataFrame()
      cu_M[MULTI_COL_SRC_0_COL] = cudf.Series(M[SRC_COL])
      cu_M[MULTI_COL_DST_0_COL] = cudf.Series(M[DST_COL])
      cu_M[MULTI_COL_SRC_1_COL] = cu_M[MULTI_COL_SRC_0_COL] + 1000
      cu_M[MULTI_COL_DST_1_COL] = cu_M[MULTI_COL_DST_0_COL] + 1000
      if use_weight:
          cu_M[EDGE_ATT_COL] = cudf.Series(M[EDGE_ATT_COL])
  
      G1 = cugraph.Graph()
      weight = EDGE_ATT_COL if use_weight else None
      G1.from_cudf_edgelist(
          cu_M,
          source=[MULTI_COL_SRC_0_COL, MULTI_COL_SRC_1_COL],
          destination=[MULTI_COL_DST_0_COL, MULTI_COL_DST_1_COL],
          weight=weight,
      )
  
      vertex_pair = cu_M[
          [
              MULTI_COL_SRC_0_COL,
              MULTI_COL_SRC_1_COL,
              MULTI_COL_DST_0_COL,
              MULTI_COL_DST_1_COL,
          ]
      ]
      vertex_pair = vertex_pair[:5]
  
      df_multi_col_res = cugraph.jaccard(G1, vertex_pair)
  
      G2 = cugraph.Graph()
      G2.from_cudf_edgelist(
          cu_M,
          source=MULTI_COL_SRC_0_COL,
          destination=MULTI_COL_DST_0_COL,
          weight=weight,
      )
      df_single_col_res = cugraph.jaccard(
          G2, vertex_pair[[MULTI_COL_SRC_0_COL, MULTI_COL_DST_0_COL]]
      )
  
      # Calculating mismatch
      actual = df_multi_col_res.sort_values("0_src").reset_index()
      expected = df_single_col_res.sort_values(
          VERTEX_PAIR_FIRST_COL
      ).reset_index()
      assert_series_equal(
          actual[JACCARD_COEFF_COL], expected[JACCARD_COEFF_COL]
      )
  
imports: import gc
  import pytest
  import networkx
  import cudf
  import cugraph
  from cugraph.datasets import netscience
  from cugraph.testing import utils, UNDIRECTED_DATASETS
  from cudf.testing import assert_series_equal
  from cudf.testing.testing import assert_frame_equal
label_desc: Use image node_id 12 for calling a global function with example usage: test_jaccard_multi_column(graph_file, use_weight) without return types