All docs
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#
Guides: Tables & data flow
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown