dtoolkit.geoaccessor.index.H3.to_str#
- H3.to_str() Index [source]#
Converts 64-bit integer H3 cell index to hexadecimal string.
- Returns:
- Index(string)
- Raises:
- TypeError
If the Index dtype is not int64.
See also
Examples
>>> import dtoolkit.geoaccessor >>> import pandas as pd >>> index = pd.Index([612845052823076863, 614269156845420543]) >>> index Index([612845052823076863, 614269156845420543], dtype='int64') >>> index.h3.to_str() Index(['88143541bdfffff', '886528b2a3fffff'], dtype='object')