ibis.expr.api.ValueExpr.substitute

ValueExpr.substitute(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

Return type

case statement (for now!)