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