Skip to content

daft.functions.list_agg#

list_agg #

list_agg(expr: Expression) -> Expression

Aggregates the values in the expression into a list.

Source code in daft/functions/agg.py
275
276
277
def list_agg(expr: Expression) -> Expression:
    """Aggregates the values in the expression into a list."""
    return Expression._from_pyexpr(expr._expr.agg_list())