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

Method test_argmax

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

Source from the content-addressed store, hash-verified

370
371 @pytest.mark.parametrize("skipna", [True, False])
372 def test_argmax(self, skipna):
373 result = self.x.argmax(dim="x", skipna=skipna)
374 assert isinstance(result.data, self.Array)
375
376 @pytest.mark.parametrize("skipna", [True, False])
377 def test_argmin(self, skipna):

Callers

nothing calls this directly

Calls 1

argmaxMethod · 0.45

Tested by

no test coverage detected