code: def _get_arrays_point(arr, include_z):
      # only one array of coordinates
      coords = get_coordinates(arr, include_z=include_z)
  
      # empty points are represented by NaNs
      empties = is_empty(arr)
      if empties.any():
          indices = np.nonzero(empties)[0]
          indices = indices - np.arange(len(indices))
          coords = np.insert(coords, indices, np.nan, axis=0)
  
      return coords, ()
  
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 1 for calling a global function with example usage: _get_arrays_point(arr, include_z) and returns: coords,  