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

Method test_groupby_first

xarray/tests/test_sparse.py:801–805  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

799
800 @pytest.mark.xfail(reason="Groupby reductions produce dense output")
801 def test_groupby_first(self):
802 x = self.sp_xr.copy()
803 x.coords["ab"] = ("x", ["a", "a", "b", "b"])
804 x.groupby("ab").first()
805 x.groupby("ab").first(skipna=False)
806
807 @pytest.mark.xfail(reason="Groupby reductions produce dense output")
808 def test_groupby_bins(self):

Callers

nothing calls this directly

Calls 3

firstMethod · 0.80
copyMethod · 0.45
groupbyMethod · 0.45

Tested by

no test coverage detected