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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -