Item Assignment Not Supported in Dask

强颜欢笑 提交于 2019-12-12 15:22:11

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!