atoti.Column.isin()#
- Column.isin(*elements: bool | date | datetime | float | int | Sequence[int] | Sequence[float] | str | time) Condition[ColumnIdentifier, Literal['isin'], Constant, None] #
- Column.isin(*elements: bool | date | datetime | float | int | Sequence[int] | Sequence[float] | str | time | None) Condition[ColumnIdentifier, 'isin', Constant | None, None]
Return a condition evaluating to
True
if a column element is among the given elements andFalse
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.