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

Function array_type

xarray/namedarray/pycompat.py:81–83  ·  view source on GitHub ↗

Quick wrapper to get the array class of the module.

(mod: ModType)

Source from the content-addressed store, hash-verified

79
80
81def array_type(mod: ModType) -> DuckArrayTypes:
82 """Quick wrapper to get the array class of the module."""
83 return _get_cached_duck_array_module(mod).type
84
85
86def mod_version(mod: ModType) -> Version:

Callers 15

from_irisFunction · 0.90
_get_single_namespaceFunction · 0.90
unstackMethod · 0.90
as_shared_dtypeFunction · 0.90
as_compatible_dataFunction · 0.90
inline_dask_reprFunction · 0.90
inline_sparse_reprFunction · 0.90
test_dataset.pyFile · 0.90
test_backends.pyFile · 0.90

Calls 1

Tested by 1

assert_chunks_equalFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…