Sandbox — LSD is in active testing. All systems operational·payments are test-mode (no real charges).
Overview Use Cases News Docs Tool Store Support Community Get LSD
All docs
Table· method

Table.rename

renames columns from an {old: new} mapping

Python
rename(mapping: Mapping[str, str]) -> Table

Returns Table — a new Table with columns renamed

Parameters#

name type default description
mapping Mapping[str, str] an {old: new} dict; columns not listed are left unchanged

Example#

Python
t.rename({"au_ppm": "gold", "cu_pct": "copper"})

Notes#

Only the columns you list are renamed; every other column keeps its name and the overall order is preserved. Every call returns a new Table.

See also#

API: select · drop · with_column

Guides: Tables & data flow

By LSD Team · Last updated Jul 17, 2026 Ask on Discord View as Markdown