> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Table.head()

> Table.head(\
>
>     *n*: [int](https://docs.python.org/3/builtins/functions.html#int) = `5`,\
>
> ) → [DataFrame](https://pandas.pydata.org/pandas-docs/version/3.0/reference/api/pandas.DataFrame.html#pandas.DataFrame)

Return at most *n* random rows of the table.

If the table has some [`keys`](./atoti.Table.keys#atoti.Table.keys), the returned DataFrame will be indexed by them.

### Parameters

#### *n*

> [int](https://docs.python.org/3/builtins/functions.html#int)
