INNER CODE UNIT · Python
point_in_polygon
jeroenjanssens/python-polars-the-definitive-guide · plugins/polars_geo/polars_geo/__init__.py:33
def point_in_polygon(self, polygon: list[list[pl.Float64]]) -> pl.Expr:
return point_in_polygon(self._input_expression, polygon)
def haversine_distance(self, to_point: list[pl.Float64]) -> pl.Expr:
return haversine_distance(self._input_expression, to_point)