MCPcopy
hub / github.com/pydata/xarray / test_idxmax

Method test_idxmax

xarray/tests/test_duck_array_wrapping.py:382–384  ·  view source on GitHub ↗
(self, skipna)

Source from the content-addressed store, hash-verified

380
381 @pytest.mark.parametrize("skipna", [True, False])
382 def test_idxmax(self, skipna):
383 result = self.x.idxmax(dim="x", skipna=skipna)
384 assert isinstance(result.data, self.Array)
385
386 @pytest.mark.parametrize("skipna", [True, False])
387 def test_idxmin(self, skipna):

Callers

nothing calls this directly

Calls 1

idxmaxMethod · 0.45

Tested by

no test coverage detected