Skip to content

Commit

Permalink
docs(python): Fix incorrect comments in group_by_dynamic (#18415)
Browse files Browse the repository at this point in the history
  • Loading branch information
liufeimath authored Aug 28, 2024
1 parent 794eea0 commit 22a97bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion py-polars/polars/lazyframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 22a97bf

Please sign in to comment.