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

Method test_rank

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

Source from the content-addressed store, hash-verified

481
482 @pytest.mark.xfail(reason="rank uses bottleneck")
483 def test_rank(self):
484 # TODO: scipy has rankdata, as does jax, so this can work
485 result = self.x.rank()
486 assert isinstance(result.data, self.Array)
487
488 def test_transpose(self):
489 result = self.x.transpose()

Callers

nothing calls this directly

Calls 1

rankMethod · 0.45

Tested by

no test coverage detected