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.print

prints a compact preview and returns self for chaining

Python
print(n: int = 20) -> Table

Returns Table — self, so you can chain it mid-pipeline

Parameters#

name type default description
n int 20 how many leading rows to print

Example#

Python
t.print()

Because it returns self, drop it mid-chain to inspect a pipeline:

Python
t.filter(t["score"] > 10).print().sort("score", descending=True)

Notes#

Prints a compact preview of the first n rows to stdout and returns the same Table, so it never breaks a chain. When more rows exist it appends a … N more rows footer.

See also#

API: head · to_pylist · null_report

Guides: Tables & data flow

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