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

# GeoSeries.head

> Return the first n rows.

Return the first `n` rows.

## Signature

```python theme={"system"}
head(n=5)
```

## Parameters

**n** `int` (default: 5)

Number of leading rows to return.

## Returns

**return** `Series or DataFrame`

The selected rows. Native spatial results retain their GeoSeries
or GeoDataFrame type and active geometry column.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.