code: def _get_skyline(
      xs: Iterable[Tuple[int, float]],
  ) -> Iterable[Tuple[int, float]]:
      """Calculate 2-D skyline."""
      # cf. https://stackoverflow.com/questions/19059878/dominant-set-of-points-in-on
      largest_y = float("-inf")
      # sort decreasingly. i dominates j for all j > i in x-dimension
      for x_i, y_i in sorted(xs, reverse=True):
          # if it is also dominated by any y, it is not part of the skyline
          if y_i > largest_y:
              yield x_i, y_i
              largest_y = y_i
  
imports: import hashlib
  import itertools
  import logging
  from collections import defaultdict
  from typing import Collection, DefaultDict, Iterable, Mapping, NamedTuple, Optional, Sequence, Set, Tuple, Union
  import numpy
  import pandas
  from tqdm.auto import tqdm
  from .None import TriplesFactory
  from ..constants import COLUMN_LABELS, TARGET_TO_INDEX
  from ..typing import COLUMN_HEAD, COLUMN_RELATION, COLUMN_TAIL, LABEL_HEAD, LABEL_RELATION, LABEL_TAIL, MappedTriples
label_desc: Use image node_id 16 for calling a global function with example usage: _get_skyline(xs) without return types