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

# ST_H3ToCenterChild (Python)

> Return the center child of an H3 cell at the requested resolution.

Return the center child of an H3 cell at the requested resolution.

SQL reference: [`ST_H3ToCenterChild`](https://docs.wherobots.com/reference/wherobots-db/geometry-data/spatial-indexing/ST_H3ToCenterChild)

## Signature

```python theme={"system"}
from sedona.spark.sql.st_functions import ST_H3ToCenterChild

ST_H3ToCenterChild(
    cell: Union[ColumnOrName, int],
    resolution: Union[ColumnOrName, int],
) -> Column
```

## Parameters

**cell** `Union[ColumnOrName, int]` *required*

H3 cell

**resolution** `Union[ColumnOrName, int]` *required*

resolution of the center child, from the input resolution to 15

## Returns

**return** `Long`

center child H3 cell, or the input cell when the resolutions are equal


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