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:5209–5214 ·
view source on GitHub ↗
(where)
Source
from the content-addressed store, hash-verified
5207
5208
5209
def
_elemwise_normalize_where(where):
5210
if
where is True:
5211
return
True
5212
elif
where is False or where is None:
5213
return
False
5214
return
asarray(where)
5215
5216
5217
def
_elemwise_handle_where(*args, **kwargs):
Callers
1
elemwise
Function · 0.85
Calls
1
asarray
Function · 0.70
Tested by
no test coverage detected