Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ _elemwise_normalize_where
Function
_elemwise_normalize_where
dask/array/core.py:5211–5216 ·
view source on GitHub ↗
(where)
Source
from the content-addressed store, hash-verified
5209
5210
5211
def
_elemwise_normalize_where(where):
5212
if
where is True:
5213
return
True
5214
elif
where is False or where is None:
5215
return
False
5216
return
asarray(where)
5217
5218
5219
def
_elemwise_handle_where(*args, **kwargs):
Callers
1
elemwise
Function · 0.85
Calls
1
asarray
Function · 0.70
Tested by
no test coverage detected