Skip to content

Commit

Permalink
docs(reference): fix ibis.ifelse() docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCrews authored and cpcloud committed Sep 27, 2023
1 parent 3c94f7b commit a80bb75
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ibis/expr/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1779,15 +1779,17 @@ def watermark(time_col: str, allowed_delay: ir.IntervalScalar) -> Watermark:
Parameters
----------
condition : ir.BooleanValue
A boolean expression
true_expr : ir.Value
Expression to return if `self` evaluates to `True`
Expression to return if `condition` evaluates to `True`
false_expr : ir.Value
Expression to return if `self` evaluates to `False` or `NULL`
Expression to return if `condition` evaluates to `False` or `NULL`
Returns
-------
Value : ir.Value
The value of `true_expr` if `arg` is `True` else `false_expr`
The value of `true_expr` if `condition` is `True` else `false_expr`
Examples
--------
Expand Down

0 comments on commit a80bb75

Please sign in to comment.