We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d648448 commit 3bb0217Copy full SHA for 3bb0217
tests/test_xarray.py
@@ -290,12 +290,4 @@ def test_xarray_groupby_bins(chunks):
290
)
291
xr.testing.assert_equal(actual, expected)
292
293
- da = xr.DataArray(np.random.randn(2, 3, 4))
294
- bins = [-1, 0, 1, 2]
295
- with xr.set_options(use_numpy_groupies=False):
296
- actual = da.groupby_bins("dim_0", bins).mean(...)
297
- with xr.set_options(use_numpy_groupies=True):
298
- expected = da.groupby_bins("dim_0", bins).mean(...)
299
- xr.testing.assert_allclose(actual, expected)
300
-
301
# TODO: test cut_kwargs
0 commit comments