atoti.Column.isin()#

Column.isin(*elements: bool | int | float | date | datetime | time | Sequence[bool] | Sequence[int] | Sequence[float] | Sequence[str] | str) Condition[ColumnIdentifier, Literal['isin'], Constant, None]#
Column.isin(*elements: bool | int | float | date | datetime | time | Sequence[bool] | Sequence[int] | Sequence[float] | Sequence[str] | str | None) Condition[ColumnIdentifier, '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.