From cd9969cf7b4f38d746254b4f81d82c0122ff50f6 Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Fri, 15 Sep 2023 01:24:09 +0200 Subject: [PATCH] docs(python): Add deprecation message in groupby docs (#11121) --- py-polars/polars/dataframe/frame.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/py-polars/polars/dataframe/frame.py b/py-polars/polars/dataframe/frame.py index 7e35479fec96..19e5be07b8d2 100644 --- a/py-polars/polars/dataframe/frame.py +++ b/py-polars/polars/dataframe/frame.py @@ -9768,7 +9768,8 @@ def groupby( """ Start a group by operation. - Alias for :func:`DataFrame.group_by`. + .. deprecated:: 0.19.0 + This method has been renamed to :func:`DataFrame.group_by`. Parameters ---------- @@ -9809,7 +9810,8 @@ def groupby_rolling( """ Create rolling groups based on a time, Int32, or Int64 column. - Alias for :func:`DataFrame.group_by_rolling`. + .. deprecated:: 0.19.0 + This method has been renamed to :func:`DataFrame.group_by_rolling`. Parameters ---------- @@ -9865,7 +9867,8 @@ def groupby_dynamic( """ Group based on a time value (or index value of type Int32, Int64). - Alias for :func:`DataFrame.group_by_rolling`. + .. deprecated:: 0.19.0 + This method has been renamed to :func:`DataFrame.group_by_dynamic`. Parameters ----------