dtoolkit.geoaccessor.index.H3.to_points#

H3.to_points() GeoSeries[source]#

Return the center Point of H3 cell.

Returns:
GeoSeries

With H3 cell as the its index.

Examples

>>> import dtoolkit.geoaccessor
>>> import pandas as pd
>>> index = pd.Index([612845052823076863, 614269156845420543])
>>> index
Index([612845052823076863, 614269156845420543], dtype='int64')
>>> index.h3.to_points()
612845052823076863  POINT (121.99637 55.00331)
614269156845420543    POINT (99.99611 0.99919)
dtype: geometry