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

Method __init__

xarray/tests/test_dataset.py:242–245  ·  view source on GitHub ↗
(self, array)

Source from the content-addressed store, hash-verified

240 """Mimic a BackendArray wrapper around DuckArrayWrapper"""
241
242 def __init__(self, array):
243 self.array = DuckArrayWrapper(array)
244 self.shape = array.shape
245 self.dtype = array.dtype
246
247 def get_array(self):
248 return self.array

Callers

nothing calls this directly

Calls 1

DuckArrayWrapperClass · 0.90

Tested by

no test coverage detected