Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_mean
Function
test_mean
dask/array/tests/test_xarray.py:17–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
16
17
def
test_mean():
18
y = da.mean(xr.DataArray([1, 2, 3.0]))
19
assert isinstance(y, da.Array)
20
assert_eq(y, y)
21
22
23
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