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:5010–5015 ·
view source on GitHub ↗
(where)
Source
from the content-addressed store, hash-verified
5008
5009
5010
def
_elemwise_normalize_where(where):
5011
if
where is True:
5012
return
True
5013
elif
where is False or where is None:
5014
return
False
5015
return
asarray(where)
5016
5017
5018
def
_elemwise_handle_where(*args, **kwargs):
Callers
1
elemwise
Function · 0.85
Calls
1
asarray
Function · 0.70
Tested by
no test coverage detected