Skip to content

daft.functions.max#

max #

max(expr: Expression) -> Expression

Calculates the maximum of the values in the expression.

Source code in daft/functions/agg.py
203
204
205
def max(expr: Expression) -> Expression:
    """Calculates the maximum of the values in the expression."""
    return Expression._from_pyexpr(expr._expr.max())