code: def nx_cugraph_call(G, max_iter, tol, alpha, personalization, nstart):
      # cugraph Pagerank Call
      t1 = time.time()
      pr = cugraph.pagerank(
          G,
          alpha=alpha,
          max_iter=max_iter,
          tol=tol,
          personalization=personalization,
          nstart=nstart,
      )
      t2 = time.time() - t1
      print("Cugraph Time : " + str(t2))
  
      return pr
  
file_path: cugraph/python/cugraph/cugraph/tests/link_analysis/test_pagerank.py
imports: import gc
  import time
  import pytest
  import numpy
  import networkx
  import cudf
  import cugraph
  from cugraph.testing import utils, DEFAULT_DATASETS
  from cugraph.datasets import karate
label_desc: Use image node_id 3 for calling a global function with example usage: nx_cugraph_call(G, max_iter, tol, alpha, personalization, nstart) and returns: pr