Additions:
-
removes
dask
in favor of usingmultiprocessing
stdlib. It's not as elegant as thedask
code so if you have a preference between them then say something. We don't "need" to make this change -
there's also a comment and
try/except
here that hint at maybe what went wrong withdask
and where it was hiding errors. But the questions are good for us to consider in terms of "graceful handling"