MCPcopy Create free account
hub / github.com/alibaba/GraphScope / hits_result

Function hits_result

python/graphscope/tests/conftest.py:804–813  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

802
803@pytest.fixture(scope="module")
804def hits_result():
805 ret = {}
806 df = pd.read_csv(
807 "{}/../p2p-31-hits-directed".format(property_dir),
808 sep="\t",
809 header=None,
810 )
811 ret["hub"] = df.iloc[:, [0, 1]].to_numpy(dtype=float)
812 ret["auth"] = df.iloc[:, [0, 2]].to_numpy(dtype=float)
813 yield ret
814
815
816@pytest.fixture(scope="module")

Callers

nothing calls this directly

Calls 2

formatMethod · 0.45
to_numpyMethod · 0.45

Tested by

no test coverage detected