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

Method output_to_client

python/graphscope/framework/context.py:694–697  ·  view source on GitHub ↗

Fetch result to client side

(self, fd, selector, vertex_range=None)

Source from the content-addressed store, hash-verified

692 )
693
694 def output_to_client(self, fd, selector, vertex_range=None):
695 """Fetch result to client side"""
696 df = self.to_dataframe(selector, vertex_range)
697 df.to_csv(fd, header=True, index=False)
698
699 def __del__(self):
700 # cleanly ignore all exceptions, cause session may already closed / destroyed.

Callers 1

Calls 1

to_dataframeMethod · 0.95

Tested by 1