Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pydata/xarray
/ is_0d_dask_array
Function
is_0d_dask_array
xarray/namedarray/pycompat.py:95–96 ·
view source on GitHub ↗
(x: duckarray[Any, Any])
Source
from the content-addressed store, hash-verified
93
94
95
def
is_0d_dask_array(x: duckarray[Any, Any]) -> bool:
96
return
is_duck_dask_array(x) and is_scalar(x)
97
98
99
def
to_numpy(
Callers
1
_broadcast_indexes_outer
Method · 0.90
Calls
2
is_duck_dask_array
Function · 0.90
is_scalar
Function · 0.90
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…