daft.Expression.is_in

daft.Expression.is_in#

Expression.is_in(other: Any) Expression[source]#

Checks if values in the Expression are in the provided list

Example

>>> # [1, 2, 3] -> [True, False, True]
>>> col("x").is_in([1, 3])
Returns:

Boolean Expression indicating whether values are in the provided list

Return type:

Expression