graphscope.framework.dag_utils.add_column

graphscope.framework.dag_utils.add_column(graph, results, selector)[源代码]

graph添加一列,生成一个新图。

Parameters:
  • graph (Graph) – 源ArrowProperty图。

  • results (Context) – 由前一个应用查询生成的结果。

  • selector (str) – 用于选择结果数据的子范围,将其添加为图的一列。

Returns:

添加了新列的新图。