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.