ibis.expr.api.ValueExpr.isin

ValueExpr.isin(arg, values)

Check whether the value expression is contained within the indicated list of values.

Parameters:

values : list, tuple, or array expression

The values can be scalar or array-like. Each of them must be comparable with the calling expression, or None (NULL).

Returns:

contains : BooleanValue

Examples

expr = table.strings.isin([‘foo’, ‘bar’, ‘baz’])

expr2 = table.strings.isin(table2.other_string_col)