Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dask/dask
/ test_mean
Function
test_mean
dask/array/tests/test_xarray.py:18–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
17
18
def
test_mean():
19
y = da.mean(xr.DataArray([1, 2, 3.0]))
20
assert isinstance(y, da.Array)
21
assert_eq(y, y)
22
23
24
def
test_asarray():
Callers
nothing calls this directly
Calls
2
assert_eq
Function · 0.90
mean
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…