ibis.expr.api.ValueExpr.substitute

ValueExpr.substitute(arg, value, replacement=None, else_=None)

Substitute (replace) one or more values in a value expression

Parameters:

value : expr-like or dict

replacement : expr-like, optional

If an expression is passed to value, this must be passed

else_ : expr, optional

Returns:

replaced : case statement (for now!)