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
Docs/ API Reference/ Table/ to_pylist
Table· method

Table.to_pylist

materialises to a list of row dicts (preview/small tables)

Python
to_pylist() -> list

Returns list[dict] — one {column: value} dict per row

Example#

Python
t.head().to_pylist()
# [{'name': 'ann', 'score': 12}, {'name': 'bob', 'score': 30}]

Notes#

This materialises the whole table into Python objects, so use it for previews and small tables — not million-row data. to_dicts() is an alias for the same method.

See also#

API: head · print · arrow

Guides: Tables & data flow

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