diff --git a/py-polars/polars/dataframe/frame.py b/py-polars/polars/dataframe/frame.py index 8a550f9e5904..950aebc4331f 100644 --- a/py-polars/polars/dataframe/frame.py +++ b/py-polars/polars/dataframe/frame.py @@ -6326,7 +6326,7 @@ def group_by_dynamic( │ 2021-12-16 03:00:00 ┆ 6 │ └─────────────────────┴─────┘ - Group by windows of 1 hour starting at 2021-12-16 00:00:00. + Group by windows of 1 hour. >>> df.group_by_dynamic("time", every="1h", closed="right").agg(pl.col("n")) shape: (4, 2) diff --git a/py-polars/polars/lazyframe/frame.py b/py-polars/polars/lazyframe/frame.py index ff4ab963faaf..dead2681da0b 100644 --- a/py-polars/polars/lazyframe/frame.py +++ b/py-polars/polars/lazyframe/frame.py @@ -3823,7 +3823,7 @@ def group_by_dynamic( │ 2021-12-16 03:00:00 ┆ 6 │ └─────────────────────┴─────┘ - Group by windows of 1 hour starting at 2021-12-16 00:00:00. + Group by windows of 1 hour. >>> lf.group_by_dynamic("time", every="1h", closed="right").agg( ... pl.col("n")