> ## 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.

# atoti.Table.head()

#### Table.head(n=5)

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/library/functions.html#int))
* **Return type:**
  [*DataFrame*](https://pandas.pydata.org/pandas-docs/version/2.3/reference/api/pandas.DataFrame.html#pandas.DataFrame)
