ibis.expr.api.ValueExpr.substituteΒΆ

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

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

Parameters
valueexpr-like or dict
replacementexpr-like, optional

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

else_expr, optional
Returns
replacedcase statement (for now!)