graphscope.framework.dag_utils.context_to_dataframeΒΆ
- graphscope.framework.dag_utils.context_to_dataframe(context, selector=None, vertex_range=None)[source]ΒΆ
Retrieve results as a pandas DataFrame.
- 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 pandas DataFrame.