Skip to content
forked from pydata/xarray

Commit 6d8e822

Browse files
committed
better warning
1 parent 62c334b commit 6d8e822

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xarray/core/groupby.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ def _maybe_squeeze_indices(
8181
if squeeze is None and warn:
8282
emit_user_level_warning(
8383
"The `squeeze` kwarg to GroupBy is being removed."
84-
"Pass .groupby(..., squeeze=False) to silence this warning."
84+
"Pass .groupby(..., squeeze=False) to disable squeezing,"
85+
" which is the new default, and to silence this warning."
8586
)
8687
if isinstance(indices, slice):
8788
assert indices.stop - indices.start == 1

0 commit comments

Comments
 (0)