graphscope.framework.dag_utils.context_to_numpyΒΆ
- graphscope.framework.dag_utils.context_to_numpy(context, selector=None, vertex_range=None, axis=0)[source]ΒΆ
Retrieve results as a numpy ndarray.
- Parameters:
results (
Context) β Results return by run_app operation, store the query results.selector (str) β Select the type of data to retrieve.
vertex_range (str) β Specify a range to retrieve.
- Returns:
An op to retrieve query results and convert to numpy ndarray.