Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ _isnonzero_vec
Function
_isnonzero_vec
dask/array/routines.py:2117–2118 ·
view source on GitHub ↗
(v)
Source
from the content-addressed store, hash-verified
2115
2116
2117
def
_isnonzero_vec(v):
2118
return
bool(np.count_nonzero(v))
2119
2120
2121
_isnonzero_vec = np.vectorize(_isnonzero_vec, otypes=[bool])
Callers
1
_isnonzero
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected