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

Method test_groupby

xarray/tests/test_dask.py:578–585  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

576 assert ds3["c"].data is c3
577
578 def test_groupby(self):
579 u = self.eager_array
580 v = self.lazy_array
581
582 expected = u.groupby("x").mean(...)
583 with raise_if_dask_computes():
584 actual = v.groupby("x").mean(...)
585 self.assertLazyAndAllClose(expected, actual)
586
587 def test_rolling(self):
588 u = self.eager_array

Callers

nothing calls this directly

Calls 4

assertLazyAndAllCloseMethod · 0.95
raise_if_dask_computesFunction · 0.90
meanMethod · 0.45
groupbyMethod · 0.45

Tested by

no test coverage detected