Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
reswqa committed Sep 25, 2023
1 parent c946e8f commit 4b47d87
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions py-polars/polars/expr/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -7465,7 +7465,7 @@ def clip_min(self, lower_bound: IntoExpr) -> Self:
"""
Clip (limit) the values in an array to a `min` boundary.
Only works for numerical types.
Only works for physical numerical types.
If you want to clip other dtypes, consider writing a "when, then, otherwise"
expression. See :func:`when` for more information.
Expand Down Expand Up @@ -7499,7 +7499,7 @@ def clip_max(self, upper_bound: IntoExpr) -> Self:
"""
Clip (limit) the values in an array to a `max` boundary.
Only works for numerical types.
Only works for physical numerical types.
If you want to clip other dtypes, consider writing a "when, then, otherwise"
expression. See :func:`when` for more information.
Expand Down
6 changes: 3 additions & 3 deletions py-polars/polars/series/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -6105,7 +6105,7 @@ def clip(self, lower_bound: IntoExpr, upper_bound: IntoExpr) -> Series:
"""
Clip (limit) the values in an array to a `min` and `max` boundary.
Only works for numerical types.
Only works for physical numerical types.
If you want to clip other dtypes, consider writing a "when, then, otherwise"
expression. See :func:`when` for more information.
Expand Down Expand Up @@ -6136,7 +6136,7 @@ def clip_min(self, lower_bound: IntoExpr) -> Series:
"""
Clip (limit) the values in an array to a `min` boundary.
Only works for numerical types.
Only works for physical numerical types.
If you want to clip other dtypes, consider writing a "when, then, otherwise"
expression. See :func:`when` for more information.
Expand All @@ -6152,7 +6152,7 @@ def clip_max(self, upper_bound: IntoExpr) -> Series:
"""
Clip (limit) the values in an array to a `max` boundary.
Only works for numerical types.
Only works for physical numerical types.
If you want to clip other dtypes, consider writing a "when, then, otherwise"
expression. See :func:`when` for more information.
Expand Down

0 comments on commit 4b47d87

Please sign in to comment.