> ## 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_H3ToChildren (Python)

> Return the children of an H3 cell at the requested resolution.

Return the children of an H3 cell at the requested resolution.

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

## Signature

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

ST_H3ToChildren(
    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 child cells, from the input resolution to 15

## Returns

**return** `List[long]`

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


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