MCPcopy
hub / github.com/pydata/xarray / is_duck_dask_array

Function is_duck_dask_array

xarray/namedarray/utils.py:94–95  ·  view source on GitHub ↗
(x: duckarray[Any, Any])

Source from the content-addressed store, hash-verified

92
93
94def is_duck_dask_array(x: duckarray[Any, Any]) -> TypeGuard[DaskArray]:
95 return is_duck_array(x) and is_dask_collection(x)
96
97
98def to_0d_object_array(

Callers 15

infer_calendar_nameFunction · 0.90
__dask_graph__Method · 0.90
__dask_keys__Method · 0.90
__dask_layers__Method · 0.90
__dask_optimize__Method · 0.90
__dask_scheduler__Method · 0.90
__dask_postcompute__Method · 0.90
__dask_postpersist__Method · 0.90
is_chunked_arrayFunction · 0.90
is_0d_dask_arrayFunction · 0.90
is_chunked_arrayMethod · 0.90
interpMethod · 0.90

Calls 2

is_duck_arrayFunction · 0.85
is_dask_collectionFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…