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

Method test_isin

xarray/tests/test_duck_array_wrapping.py:268–271  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

266 assert isinstance(result.data, self.Array)
267
268 def test_isin(self):
269 test_elements = self.constructor(np.asarray([1]))
270 result = self.x.isin(test_elements)
271 assert isinstance(result.data, self.Array)
272
273 def test_groupby(self):
274 result = self.x.groupby("x").mean()

Callers

nothing calls this directly

Calls 1

isinMethod · 0.80

Tested by

no test coverage detected