code: def get_templates_data_frame():
      """
      Gathers all template information into a Pandas DataFrame.
  
      :return: Pandas DataFrame
      """
      data = {
          "id": [],
          "dataset": [],
          "subset": [],
          "name": [],
          "reference": [],
          "original_task": [],
          "choices_in_prompt": [],
          "metrics": [],
          "languages": [],
          "answer_choices": [],
          "jinja": [],
      }
  
      template_collection = TemplateCollection()
  
      for key in template_collection.keys:
          templates = template_collection.get_dataset(key[0], key[1])
          for template_name in templates.all_template_names:
              template = templates[template_name]
              data["id"].append(template.get_id())
              data["dataset"].append(key[0])
              data["subset"].append(key[1])
              data["name"].append(template.get_name())
              data["reference"].append(template.get_reference())
              data["original_task"].append(
                  template.metadata.original_task
              )
              data["choices_in_prompt"].append(
                  template.metadata.choices_in_prompt
              )
              data["metrics"].append(template.metadata.metrics)
              data["languages"].append(template.metadata.languages)
              data["answer_choices"].append(
                  template.get_answer_choices_expr()
              )
              data["jinja"].append(template.jinja)
  
      return pd.DataFrame(data)
  
imports: import logging
  import os
  import random
  import re
  import uuid
  from collections import Counter, defaultdict
  from shutil import rmtree
  from typing import Dict, List, Optional, Tuple
  import pandas
  import pkg_resources
  import yaml
  from jinja2 import BaseLoader, Environment, meta
  from ..constants import AUTOMM
label_desc: Use image node_id 6 for calling a global function with example usage: get_templates_data_frame() and returns: pd