Skip to content

daft.functions.negate#

negate #

negate(expr: Expression) -> Expression

The negative of a numeric expression.

Source code in daft/functions/numeric.py
50
51
52
def negate(expr: Expression) -> Expression:
    """The negative of a numeric expression."""
    return Expression._call_builtin_scalar_fn("negate", expr)