atoti.Column.isin()#

Column.isin(*elements: ConstantValue) Condition[ColumnIdentifier, Literal['isin'], Constant, None]#
Column.isin(*elements: ConstantValue | None) Condition[ColumnIdentifier, Literal['isin'], Constant | None, None]

Return a condition evaluating to True if a column element is among the given elements and False otherwise.

table["City"].isin("Paris", "New York") is equivalent to (table["City"] == "Paris") | (table["City"] == "New York").

Parameters:

elements – One or more elements on which the column should be.