MCPcopy 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
95def is_0d_dask_array(x: duckarray[Any, Any]) -> bool:
96 return is_duck_dask_array(x) and is_scalar(x)
97
98
99def to_numpy(

Callers 1

Calls 2

is_duck_dask_arrayFunction · 0.90
is_scalarFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…