code: def _get_arrays_multipoint(arr, include_z):
      # explode/flatten the MultiPoints
      _, part_indices = get_parts(arr, return_index=True)
      # the offsets into the multipoint parts
      offsets = _indices_to_offsets(part_indices, len(arr))
  
      # only one array of coordinates
      coords = get_coordinates(arr, include_z=include_z)
  
      return coords, (offsets,)
  
file_path: shapely/shapely/_ragged_array.py
imports: import numpy
  from shapely import creation
  from shapely._geometry import GeometryType, get_coordinate_dimension, get_parts, get_rings, get_type_id
  from shapely.coordinates import get_coordinates
  from shapely.predicates import is_empty
label_desc: Use image node_id 3 for calling a global function with example usage: _get_arrays_multipoint(arr, include_z) and returns: coords,  offsets