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

Method get_array

xarray/tests/test_dataset.py:247–248  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

245 self.dtype = array.dtype
246
247 def get_array(self):
248 return self.array
249
250 def __getitem__(self, key):
251 return self.array[key.tuple]

Calls

no outgoing calls

Tested by

no test coverage detected