dtoolkit.geoaccessor.series.H3.is_res_class_III#
- property H3.is_res_class_III: Series#
Determine if cell has orientation “Class II” or “Class III”.
Cells of resolutions:
Class II: 0, 2, 4, 6, 8, 10, 12, 14
Class III: 1, 3, 5, 7, 9, 11, 13, 15
- Returns:
- Series(bool)
With H3 cell as the its index. Its values indicating whether the H3 cell is Class III resolution.
See also
Examples
>>> import dtoolkit.geoaccessor >>> import pandas as pd >>> s = pd.Series(['a', 'b'], index=[612845052823076863, 614269156845420543]) >>> s 612845052823076863 a 614269156845420543 b dtype: object >>> s.h3.is_res_class_III 612845052823076863 False 614269156845420543 False dtype: bool