code: def make_transforms_targets_table(transforms_info, header):
      rows = [header]
      for transform, info in sorted(
          transforms_info.items(), key=lambda kv: kv[0]
      ):
          transform_targets = []
          for target in Targets:
              mark = "✓" if target in info["targets"] else ""
              transform_targets.append(mark)
          row = [info["docs_link"] or transform] + transform_targets
          rows.append(row)
  
      column_widths = [
          max(len(r) for r in column) for column in zip(*rows)
      ]
      lines = [
          " | ".join(
              "{title: <{width}}".format(width=width, title=title)
              for width, title in zip(column_widths, rows[0])
          ),
          " | ".join(
              make_separator(width, align_center=column_index > 0)
              for column_index, width in enumerate(column_widths)
          ),
      ]
      for row in rows[1:]:
          lines.append(
              " | ".join(
                  "{column: <{width}}".format(
                      width=width, column=column
                  )
                  for width, column in zip(column_widths, row)
              )
          )
      return "\n".join("| {line} |".format(line=line) for line in lines)
  
file_path: albumentations/tools/make_transforms_docs.py
imports: import inspect
  import os
  import sys
  from enum import Enum
  import argparse
  import albumentations
label_desc: Use image node_id 5 for calling a global function with example usage: make_transforms_targets_table(transforms_info, header) and returns: str