class_docstr: Dispatches distance operations between two GeoSeries
class_docstr_tok: ["Dispatches","distance","operations","between","two","GeoSeries"]
docstr: Check single geometry type of `s`.
docstr_tok: ["Check","single","geometry","type","of","`","s","`","."]
code: def _determine_series_type(self, s):
      """Check single geometry type of `s`."""
      if contains_only_multipoints(s):
          typ = Feature_Enum.MULTIPOINT
      elif contains_only_points(s):
          typ = Feature_Enum.POINT
      elif contains_only_linestrings(s):
          typ = Feature_Enum.LINESTRING
      elif contains_only_polygons(s):
          typ = Feature_Enum.POLYGON
      else:
          raise NotImplementedError(
              "Geoseries with mixed geometry types are not supported"
          )
      return typ
  
file_path: cuspatial/python/cuspatial/cuspatial/core/binops/distance_dispatch.py
imports: import cudf
  from cudf.core.column import as_column, full
  from cuspatial._lib.distance import pairwise_linestring_distance, pairwise_linestring_polygon_distance, pairwise_point_distance, pairwise_point_linestring_distance, pairwise_point_polygon_distance, pairwise_polygon_distance
  from cuspatial._lib.types import CollectionType
  from cuspatial.core._column.geometa import Feature_Enum
  from cuspatial.utils.column_utils import contains_only_linestrings, contains_only_multipoints, contains_only_points, contains_only_polygons
label_desc: Use image node_id 2 for calling the DistanceDispatch obj's underlying member method code with example usage: obj._determine_series_type(s) and returns: typ