Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ choose
Function
choose
dask/array/routines.py:2113–2114 ·
view source on GitHub ↗
(a, choices)
Source
from the content-addressed store, hash-verified
2111
2112
@derived_from(np)
2113
def
choose(a, choices):
2114
return
elemwise(variadic_choose, a, *choices)
2115
2116
2117
def
_isnonzero_vec(v):
Callers
1
choose
Method · 0.90
Calls
1
elemwise
Function · 0.90
Tested by
no test coverage detected