columna API reference - v0.3.0
    Preparing search index...

    Function when

    • polars-style when(pred).then(v).otherwise(v) — the result type is the union of the branch types.

      Parameters

      • predicate: Expr<boolean, any> | Expr<any, any>

      Returns WhenBuilder