code: def read_csv(request):
      """
      Read csv file for both networkx and cugraph
      """
      graph_file = request.param
      dataset_path = graph_file.get_path()
      M = utils.read_csv_for_nx(dataset_path)
      M_cu = utils.read_csv_file(dataset_path)
  
      return M_cu, M, graph_file
  
imports: import gc
  import pytest
  import networkx
  import cudf
  import cugraph
  from cugraph.testing import utils, UNDIRECTED_DATASETS
  from cugraph.datasets import netscience
  from cudf.testing import assert_series_equal
  from cudf.testing.testing import assert_frame_equal
label_desc: Use image node_id 5 for calling a global function with example usage: read_csv(request) and returns: M_cu,  M,  graph_file