skrub.Expr.skb.draw_graph#

Expr.skb.draw_graph()[source]#

Get an SVG string representing the computation graph.

In addition to the usual str methods, the result has an open() method which displays it in a web browser window.

Returns:
GraphDrawing

Drawing of the computation graph. This objects has attributes svg and png, containing representations of the graph in those formats (as bytes objects), and a method .open() to display it in a browser window.