Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_auto_chunks
Function
test_auto_chunks
dask/array/tests/test_creation.py:1016–1019 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1014
1015
1016
def
test_auto_chunks():
1017
with
dask.config.set({
"array.chunk-size"
:
"50 MiB"
}):
1018
x = da.ones((10000, 10000))
1019
assert 4 < x.npartitions < 32
1020
1021
1022
def
test_string_auto_chunk():
Callers
nothing calls this directly
Calls
2
set
Method · 0.80
ones
Method · 0.45
Tested by
no test coverage detected