Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_rechunk_auto
Function
test_rechunk_auto
dask/array/tests/test_array_core.py:5902–5906 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5900
5901
5902
def
test_rechunk_auto():
5903
x = da.ones(10, chunks=(1,))
5904
y = x.rechunk()
5905
5906
assert y.npartitions == 1
5907
5908
5909
def
test_chunk_assignment_invalidates_cached_properties():
Callers
nothing calls this directly
Calls
2
ones
Method · 0.45
rechunk
Method · 0.45
Tested by
no test coverage detected