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

## Parameters

| name | type | default | description |
|---|---|---|---|
| `n` | `int` | `5` | how many leading rows to keep |

## Example

```python
t.head()        # first 5 rows
t.head(10)      # first 10
```

## Notes

`head` is a zero-copy slice, so it is cheap even on large tables. Every call returns a
**new** `Table`.

## See also

**API:** [sort](/docs/api-table-sort) · [print](/docs/api-table-print) · [filter](/docs/api-table-filter)

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