From ee0a7b550b09928558c1f16dffaf897b124448a8 Mon Sep 17 00:00:00 2001 From: Michael Bauer Date: Wed, 11 May 2022 09:46:41 +0200 Subject: [PATCH] Add missing space in exception raise --- xarray/core/groupby.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xarray/core/groupby.py b/xarray/core/groupby.py index e97499f06b4..151ef844f44 100644 --- a/xarray/core/groupby.py +++ b/xarray/core/groupby.py @@ -312,7 +312,7 @@ def __init__( if not hashable(group): raise TypeError( "`group` must be an xarray.DataArray or the " - "name of an xarray variable or dimension." + "name of an xarray variable or dimension. " f"Received {group!r} instead." ) group = obj[group]