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

## 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](/docs/api-table-head) · [to_pylist](/docs/api-table-to-pylist) · [null_report](/docs/api-table-null-report)

**Guides:** [Tables & data flow](/docs/tools-tables)
