code: def test_enrich_with_stat(self):
      import cugraph
  
      g = graphistry.edges(
          pd.DataFrame(
              {"s": [x[0] for x in edges], "d": [x[1] for x in edges]}
          ),
          "s",
          "d",
      )
      G = g.to_cugraph()
      # ig.vs['spinglass'] = ig.community_spinglass(spins=3).membership
      nodes_gdf = cugraph.pagerank(G)
      assert len(nodes_gdf) == len(g.materialize_nodes()._nodes)
      assert "pagerank" in nodes_gdf
      assert "vertex" in nodes_gdf
  
imports: from functools import lru_cache
  import graphistry, logging, os, pandas, pytest
  from graphistry.tests.common import NoAuthTestCase
  from graphistry.constants import SRC, DST, NODE
  from graphistry.plugins.cugraph import SRC_CUGRAPH, DST_CUGRAPH, NODE_CUGRAPH, from_cugraph, to_cugraph, compute_cugraph, layout_cugraph, compute_algs, node_compute_algs_to_attr, layout_algs
label_desc: Use image node_id 1 for calling the Test_curaph_usage obj's underlying member method code with example usage: obj.test_enrich_with_stat() without return types