Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_rechunk_empty_array
Function
test_rechunk_empty_array
dask/array/tests/test_rechunk.py:261–263 ·
view source on GitHub ↗
(arr)
Source
from the content-addressed store, hash-verified
259
"arr"
, [da.array([]), da.array([[], []]), da.array([[[]], [[]]])]
260
)
261
def
test_rechunk_empty_array(arr):
262
arr.rechunk()
263
assert arr.size == 0
264
265
266
def
test_rechunk_empty():
Callers
nothing calls this directly
Calls
1
rechunk
Method · 0.45
Tested by
no test coverage detected