Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pydata/xarray
/ get_duck_array
Method
get_duck_array
xarray/core/indexing.py:690–691 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
688
return
np.asarray(self.get_duck_array(), dtype=dtype)
689
690
def
get_duck_array(self):
691
return
self.array.get_duck_array()
692
693
def
__getitem__(self, key: Any):
694
key = expanded_indexer(key, self.ndim)
Callers
1
__array__
Method · 0.95
Calls
1
get_duck_array
Method · 0.45
Tested by
no test coverage detected