Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dask/dask
/ test_from_array_names
Function
test_from_array_names
dask/array/tests/test_array_core.py:3956–3959 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3954
3955
3956
def
test_from_array_names():
3957
x = np.ones(10)
3958
a = da.from_array(x, chunks=2)
3959
assert a.dask.keys() == {(a.name, i)
for
i in range(5)}
3960
3961
3962
@pytest.mark.parametrize(
Callers
nothing calls this directly
Calls
2
ones
Method · 0.45
keys
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…