code: def extract_two_hop(read_csv):
      """
      Build graph and extract two hop neighbors
      """
      _, graph_file = read_csv
      G = graph_file.get_graph(ignore_weights=True)
      pairs = (
          G.get_two_hop_neighbors()
          .sort_values([VERTEX_PAIR_FIRST_COL, VERTEX_PAIR_SECOND_COL])
          .reset_index(drop=True)
      )
  
      return pairs
  
imports: import gc
  import pytest
  import numpy
  import scipy
  import cudf
  import cugraph
  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 9 for calling a global function with example usage: extract_two_hop(read_csv) and returns: pairs