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:5739–5743 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5737
5738
5739
def
test_rechunk_auto():
5740
x = da.ones(10, chunks=(1,))
5741
y = x.rechunk()
5742
5743
assert y.npartitions == 1
5744
5745
5746
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