code: def compress(datapoints: tp.List[Datapoint]) -> tp.Dict[str, tp.Any]:
      columns = _build_columns_list(datapoints)
      rows: tp.List[tp.Any] = []
      for dp in datapoints:
          d: tp.List[tp.Any] = [dp.uid, dp.from_uid]
          for c in columns:
              d.append(dp.values.get(c))
          rows.append(d)
      return {"columns": columns, "rows": rows}
  
label_desc: Use image node_id 2 for calling a global function with example usage: compress(datapoints) and returns: dict