Skip to content

Vectorized indexing on two large arrays. #7791

Answered by dcherian
SohumB asked this question in Q&A
Discussion options

You must be logged in to vote

This is not supported by dask. On main I get the nice error:

ValueError: Vectorized indexing with Dask arrays is not supported. 
Please pass a numpy array by calling ``.compute``. See https://github.com/dask/dask/issues/8958.

There certainly seems to be an assumption in the code that the indexing can happen in memory

The indexer needs to be in memory for vectorized indexing.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SohumB
Comment options

Answer selected by dcherian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants