graphscope.framework.dag_utils.add_column¶
- graphscope.framework.dag_utils.add_column(graph, results, selector)[source]¶
Add a column to graph, produce a new graph.
- Parameters:
graph (
Graph
) – Source ArrowProperty graph.results (
Context
) – Results that generated by previous app querying.selector (str) – Used to select a subrange of data of results, add them as one column of graph.
- Returns:
A new graph with new columns added.