Dask's custom graph description -
i'm using dask custom graph
how can print graph defeintion
for example consider grpah
dsk = {'load-1': (load, 'myfile.a.data'), 'load-2': (load, 'myfile.b.data'), 'load-3': (load, 'myfile.c.data'), 'clean-1': (clean, 'load-1'), 'clean-2': (clean, 'load-2'), 'clean-3': (clean, 'load-3'), 'analyze': (analyze, ['clean-%d' % in [1, 2, 3]]), 'store': (store, 'analyze')}
i print out above description calling someting
print dsk
i know dot_graph(dask,'image.png') textual description
you can , pyhton pretty printer decent job. biggest difference print functions <function sum>
rather sum
, bit unpleasant. seems reasonable dask include special pretty print function. perhaps raise issue?
Comments
Post a Comment