dtoolkit.geoaccessor.index.H3.to_center_child#
- H3.to_center_child(resolution: int = None) Index[source]#
Get the center child of cell.
- Parameters:
- resolutionint, optional
The resolution for the children. If None, then use the current
resolutionof cell+1.
- Returns:
- Index
New H3 center child cell.
See also
Examples
>>> import dtoolkit.geoaccessor >>> import pandas as pd >>> index = pd.Index([612845052823076863, 614269156845420543]) >>> index Index([612845052823076863, 614269156845420543], dtype='int64') >>> index.h3.to_center_child() Index([617348652448612351, 618772756470956031], dtype='int64')