Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_slice_reversed
Function
test_slice_reversed
dask/array/tests/test_array_core.py:5740–5744 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5738
5739
5740
def
test_slice_reversed():
5741
x = da.ones(10, chunks=-1)
5742
y = x[6:3]
5743
5744
assert_eq(y, np.ones(0))
5745
5746
5747
def
test_map_blocks_chunks():
Callers
nothing calls this directly
Calls
2
assert_eq
Function · 0.90
ones
Method · 0.45
Tested by
no test coverage detected