code: def percentile(data, pers):
      if not data:
          return [math.nan] * len(pers)
      size = len(data)
      sorted_data = sorted(data)
      return tuple(
          sorted_data[max(math.ceil(size * p) - 1, 0)] for p in pers
      )
  
imports: import asyncio
  import math
  import time
  from collections import defaultdict
  from tabulate import tabulate
label_desc: Use image node_id 3 for calling a global function with example usage: percentile(data, pers) and returns: tuple, unknown