> ## 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.

# Table.drop()

<span id="atoti.Table.drop" />

> Table.drop(<br />
>     *filter*: TableDropFilterCondition | [None](https://docs.python.org/3/library/constants.html#None) = `None`,<br />
>     /,<br />
> ) → [None](https://docs.python.org/3/library/constants.html#None)

Delete some of the table’s rows.

### Parameters

<h4 id="atoti.Table.drop.filter">
  *filter*
</h4>

Rows where this condition evaluates to `True` will be deleted.
If `None`, all the rows will be deleted.

***

```pycon theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
>>> df = pd.DataFrame(
...     columns=["City", "Price"],
...     data=[
...         ("London", 240.0),
...         ("New York", 270.0),
...         ("Paris", 200.0),
...     ],
... )
>>> table = session.read_pandas(df, keys={"City"}, table_name="Cities")
>>> table.head().sort_index()
          Price
City
London    240.0
New York  270.0
Paris     200.0
>>> table.drop((table["City"] == "Paris") | (table["Price"] <= 250.0))
>>> table.head().sort_index()
          Price
City
New York  270.0
>>> table.drop()
>>> table.row_count
0
```
