Skip to content

Commit

Permalink
[EXPRESSIONS] Add missing doc gen for Expression.float.is_nan (#2378)
Browse files Browse the repository at this point in the history
Add missing doc gen for `Expression.float.is_nan`

Signed-off-by: Tai Le Manh <[email protected]>
  • Loading branch information
tlm365 authored Jun 14, 2024
1 parent 2290d03 commit fa6a413
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion daft/expressions/expressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ def is_nan(self) -> Expression:
Example:
>>> # [1., None, NaN] -> [False, None, True]
>>> col("x").is_nan()
>>> col("x").float.is_nan()
Returns:
Expression: Boolean Expression indicating whether values are invalid.
Expand Down
1 change: 1 addition & 0 deletions docs/source/api_docs/expressions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ The following methods are available under the ``expr.float`` attribute.
:template: autosummary/accessor_method.rst

Expression.float.is_inf
Expression.float.is_nan

.. _api-expressions-temporal:

Expand Down

0 comments on commit fa6a413

Please sign in to comment.