From 710090710d829b4b3b031712f60115d2bea56df5 Mon Sep 17 00:00:00 2001 From: Deepak Cherian Date: Fri, 21 Jun 2024 16:07:54 -0600 Subject: [PATCH] bugfix --- xarray/core/dataarray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xarray/core/dataarray.py b/xarray/core/dataarray.py index bd2781e8c76..7ea93efa6dc 100644 --- a/xarray/core/dataarray.py +++ b/xarray/core/dataarray.py @@ -6774,7 +6774,7 @@ def groupby( grouper: Grouper if group is not None: - if not groupers: + if groupers: raise ValueError( "Providing a combination of `group` and **groupers is not supported." )