Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ ones_like
Function
ones_like
dask/array/ma.py:199–201 ·
view source on GitHub ↗
(a, **kwargs)
Source
from the content-addressed store, hash-verified
197
198
@derived_from(np.ma.core)
199
def
ones_like(a, **kwargs):
200
a = asanyarray(a)
201
return
a.map_blocks(np.ma.core.ones_like, **kwargs)
202
203
204
@derived_from(np.ma.core)
Callers
nothing calls this directly
Calls
2
asanyarray
Function · 0.90
map_blocks
Method · 0.45
Tested by
no test coverage detected