code: def _multipoints_from_polygons(geoseries):
      """Converts a geoseries of polygons into a geoseries of multipoints.
      All exterior and interior points become points in each multipoint object.
      """
      xy = geoseries.polygons.xy
      polygon_offsets = geoseries.polygons.ring_offset.take(
          geoseries.polygons.part_offset.take(
              geoseries.polygons.geometry_offset
          )
      )
      # Drop the endpoint from all polygons
      return cuspatial.GeoSeries.from_multipoints_xy(
          xy, polygon_offsets
      )
  
imports: import cupy
  import numpy
  import cudf
  import cuspatial
  from cuspatial.core._column.geocolumn import ColumnType
  from cuspatial.core._column.geometa import Feature_Enum
label_desc: Use image node_id 12 for calling a global function with example usage: _multipoints_from_polygons(geoseries) and returns: cuspatial