All docs
Table·
method
Table.drop
removes the named columns, keeping the rest
Python
drop(*names: str) -> Table
Returns Table — a new Table without those columns
Parameters#
| name | type | default | description |
|---|---|---|---|
*names |
str |
— | column names to remove |
Example#
Python
t.drop("scratch", "tmp")
Notes#
Names that are not present are simply ignored — no error. Remaining columns keep their
original order. Every call returns a new Table.
See also#
API: select · rename · columns
Guides: Tables & data flow
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown