# RunResult.print
URL: https://lsd.tools/docs/api-runresult-print
Updated: 2026-07-17

## 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](/docs/api-runresult-output) · [raise_on_error](/docs/api-runresult-raise-on-error) · [RunResult](/docs/api-runresult)
