All docs
Table·
property
Table.columns
the list of column names, in order
Python
columns: list[str]
Returns list[str] — the column names, in order
Example#
Python
t.columns # ['name', 'score']
"score" in t # True — membership tests a column name
len(t) # row count
Notes#
columns is a plain list[str], in schema order. To test whether a column exists, use
name in table; for the full types use schema.
See also#
Guides: Tables & data flow
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown