MCPcopy Create free account
hub / github.com/alibaba/GraphScope / consolidate_columns

Method consolidate_columns

python/graphscope/framework/graph.py:1377–1387  ·  view source on GitHub ↗
(
        self,
        label: str,
        columns: Union[List[str], Tuple[str]],
        result_column: str,
    )

Source from the content-addressed store, hash-verified

1375
1376 @apply_docstring(GraphDAGNode.consolidate_columns)
1377 def consolidate_columns(
1378 self,
1379 label: str,
1380 columns: Union[List[str], Tuple[str]],
1381 result_column: str,
1382 ) -> Union["Graph", GraphDAGNode]:
1383 if not self.loaded():
1384 raise RuntimeError("The graph is not loaded")
1385 return self._session._wrapper(
1386 self._graph_node.consolidate_columns(label, columns, result_column)
1387 )
1388
1389 @apply_docstring(GraphDAGNode.project)
1390 def project(

Callers 2

consolidate_columnsMethod · 0.45
test_consolidate_columnsFunction · 0.45

Calls 2

loadedMethod · 0.95
_wrapperMethod · 0.80

Tested by 1

test_consolidate_columnsFunction · 0.36