> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Column.isin()

<span id="atoti.Column.isin" />

> @overload<br />
> Column.isin(<br />
>     *\*elements*: ConstantT\_co,<br />
> ) → MembershipCondition\[ColumnIdentifier, 'IN', TypeVar] | RelationalCondition\[ColumnIdentifier, 'EQ', TypeVar]

> @overload<br />
> Column.isin(<br />
>     *\*elements*: ConstantT\_co | [None](https://docs.python.org/3/library/constants.html#None),<br />
> ) → MembershipCondition\[TypeAliasForwardRef, 'IN', TypeVar | NoneType] | RelationalCondition\[TypeAliasForwardRef, 'EQ', TypeVar | NoneType]

Return a condition evaluating to `True` for elements of this column included in the given *elements*, and evaluating to `False` elsewhere.

### Parameters

<h4 id="atoti.Column.isin.elements">
  *\*elements*
</h4>

One or more values that the column elements will be compared against.

***

```pycon theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
>>> df = pd.DataFrame(
...     columns=["City", "Price"],
...     data=[
...         ("Berlin", 150),
...         ("London", 270),
...         ("Madrid", 200),
...     ],
... )
>>> table = session.read_pandas(df, keys={"City"}, table_name="Example")
>>> condition = table["City"].isin("Berlin", "Madrid")
>>> condition
t['Example']['City'].isin('Berlin', 'Madrid')
>>> table.drop(condition)
>>> table.head().sort_index()
        Price
City
London    270
```
