MCPcopy Index your code
hub / github.com/pydata/xarray / async_get_duck_array

Method async_get_duck_array

xarray/backends/common.py:324–326  ·  view source on GitHub ↗
(self, dtype: np.typing.DTypeLike | None = None)

Source from the content-addressed store, hash-verified

322 return self[key] # type: ignore[index]
323
324 async def async_get_duck_array(self, dtype: np.typing.DTypeLike | None = None):
325 key = indexing.BasicIndexer((slice(None),) * self.ndim)
326 return await self.async_getitem(key)
327
328
329class AbstractDataStore:

Callers 2

async_to_duck_arrayFunction · 0.45
test_async_sub_arrayMethod · 0.45

Calls 1

async_getitemMethod · 0.95

Tested by 1

test_async_sub_arrayMethod · 0.36