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.