Skip to content

Commit

Permalink
docs(python): Remove incorrect "1i (1 index count)" from some docs me…
Browse files Browse the repository at this point in the history
…thods (pola-rs#15750)
  • Loading branch information
MarcoGorelli authored Apr 19, 2024
1 parent 0c2783a commit 27e69b5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -5648,7 +5648,6 @@ def join_asof(
- 1mo (1 calendar month)
- 1q (1 calendar quarter)
- 1y (1 calendar year)
- 1i (1 index count)
Or combine them:
"3d12h4m25s" # 3 days, 12 hours, 4 minutes, and 25 seconds
Expand Down
1 change: 0 additions & 1 deletion py-polars/polars/expr/datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -2154,7 +2154,6 @@ def offset_by(self, by: str | Expr) -> Expr:
- 1mo (1 calendar month)
- 1q (1 calendar quarter)
- 1y (1 calendar year)
- 1i (1 index count)
By "calendar day", we mean the corresponding time on the next day (which may
not be 24 hours, due to daylight savings). Similarly for "calendar week",
Expand Down
1 change: 0 additions & 1 deletion py-polars/polars/lazyframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -3587,7 +3587,6 @@ def join_asof(
- 1mo (1 calendar month)
- 1q (1 calendar quarter)
- 1y (1 calendar year)
- 1i (1 index count)
Or combine them:
"3d12h4m25s" # 3 days, 12 hours, 4 minutes, and 25 seconds
Expand Down
1 change: 0 additions & 1 deletion py-polars/polars/series/datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,6 @@ def offset_by(self, by: str | Expr) -> Series:
- 1mo (1 calendar month)
- 1q (1 calendar quarter)
- 1y (1 calendar year)
- 1i (1 index count)
By "calendar day", we mean the corresponding time on the next day
(which may not be 24 hours, due to daylight savings). Similarly for
Expand Down

0 comments on commit 27e69b5

Please sign in to comment.