All docs
RunResult·
method
RunResult.print
prints a compact preview of the result and returns self
Python
print(n: int = 20) -> RunResult
Returns RunResult — self, so calls chain
Parameters#
| name | type | default | description |
|---|---|---|---|
n |
int |
20 |
number of rows to preview |
Example#
Python
Engine().run(pipeline).print(10)
Notes#
Prints the primary output's first n rows (falls back to the PipelineResult repr when there is no
output table). Returns self, so you can chain it — e.g.
Engine().run(p).print().output.write_csv("out.csv").
See also#
API: output · raise_on_error · RunResult
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown