code: def _construct_points(x, y):
      x, y = np.asanyarray(x), np.asanyarray(y)
      if x.shape != y.shape:
          raise ValueError("X and Y shapes must be equivalent.")
  
      if x.dtype != np.float64:
          x = x.astype(np.float64)
      if y.dtype != np.float64:
          y = y.astype(np.float64)
  
      return shapely.points(x, y)
  
imports: import numpy
  import shapely
  from shapely.prepared import PreparedGeometry
label_desc: Use image node_id 1 for calling a global function with example usage: _construct_points(x, y) and returns: shapely