Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_asanyarray
Function
test_asanyarray
dask/array/tests/test_xarray.py:30–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
28
29
30
def
test_asanyarray():
31
y = da.asanyarray(xr.DataArray([1, 2, 3.0]))
32
assert isinstance(y, da.Array)
33
assert_eq(y, y)
34
35
36
def
test_asarray_xarray_intersphinx_workaround():
Callers
nothing calls this directly
Calls
1
assert_eq
Function · 0.90
Tested by
no test coverage detected