diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index a370300100866..50b39ee977ed4 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -4349,7 +4349,7 @@ def _insert_quantile_level(idx: Index, qs: npt.NDArray[np.float64]) -> MultiInde _apply_groupings_depr = ( "{}.apply operated on the grouping columns. This behavior is deprecated, " "and in a future version of pandas the grouping columns will be excluded " - "from the operation. Select the columns to operate on after groupby to" + "from the operation. Select the columns to operate on after groupby to " "either explicitly include or exclude the groupings and silence " "this warning." )