code: def subsequent_pairs(l):
      """
      Return subsequent pairs of values in a list <l>, i.e. [(x1, x2), (x2, x3), (x3, x4), .. (xn-1, xn)] for a
      list [x1 .. xn]
      """
  
      return [(l[i - 1], v) for i, v in enumerate(l) if i > 0]
  
imports: from collections import defaultdict, OrderedDict
  from pdftabextract.geom import pt, rect, rect_from_text, rectintersect, rectcenter_dist
  from pdftabextract.textboxes import join_texts, create_text_from_lines, put_texts_in_lines
label_desc: Use image node_id 4 for calling a global function with example usage: subsequent_pairs(l) and returns: unknown