MCPcopy 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
5209def _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
5217def _elemwise_handle_where(*args, **kwargs):

Callers 1

elemwiseFunction · 0.85

Calls 1

asarrayFunction · 0.70

Tested by

no test coverage detected