daft.functions.not_nan#
not_nan #
not_nan(expr: Expression) -> Expression
Checks if values are not NaN (a special float value indicating not-a-number).
Returns:
| Name | Type | Description |
|---|---|---|
Expression | Expression | Boolean Expression indicating whether values are not invalid. |
Note
Nulls will be propagated! I.e. this operation will return a null for null values.
Examples:
1 2 3 4 5 6 | |
╭───────╮
│ x │
│ --- │
│ Bool │
╞═══════╡
│ true │
├╌╌╌╌╌╌╌┤
│ None │
├╌╌╌╌╌╌╌┤
│ false │
╰───────╯
(Showing first 3 of 3 rows) Source code in daft/functions/numeric.py
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 | |