问题
What are the ways we can have perform item assignment in Dask Arrays? Even a very simple item assignment like: a[0] = 2 does not work.
回答1:
Correct. This is the first limitation noted in the documentation.
In general, workflows that involve for loops and direct assignment of individual elements are hard to parallelize. Dask array does not make this attempt.
来源:https://stackoverflow.com/questions/40935756/item-assignment-not-supported-in-dask