code: def get_highlevel_report(group_attribute_df):
      group_attribute_df = group_attribute_df.applymap(str)
      cols = ["attribute_name"]
      if "Unsupervised Fairness" in group_attribute_df.columns:
          cols.append("Unsupervised Fairness")
      if "Supervised Fairness" in group_attribute_df.columns:
          cols.append("Supervised Fairness")
      group_attribute_df = group_attribute_df[cols]
      map = {}
      attr_list = group_attribute_df["attribute_name"].unique()
      for col in group_attribute_df.columns:
          if col == "attribute_name":
              colstr = "Attribute"
          else:
              colstr = col
          map[col] = colstr
          # to be able to click on true/false and redirect to the next section
          if col != "attribute_name":
              for attr in attr_list:
                  group_attribute_df.loc[
                      group_attribute_df["attribute_name"] == attr, col
                  ] = (
                      "["
                      + group_attribute_df[col][
                          group_attribute_df["attribute_name"] == attr
                      ]
                      + "]"
                      + "(#"
                      + "-".join(attr.lower().split(" "))
                      + ")"
                  )
      for attr in attr_list:
          group_attribute_df = group_attribute_df.replace(
              attr,
              "["
              + attr
              + "]"
              + "(#"
              + "-".join(attr.lower().split(" "))
              + ")",
          )
      group_attribute_df = group_attribute_df.rename(
          index=str, columns=map
      )
      highlevel_report = tabulate(
          group_attribute_df,
          headers="keys",
          tablefmt="pipe",
          showindex="never",
          numalign="left",
      )
      return highlevel_report
  
imports: import datetime
  import logging
  import pandas
  from markdown2 import markdown
  from tabulate import tabulate
label_desc: Use image node_id 2 for calling a global function with example usage: get_highlevel_report(group_attribute_df) and returns: highlevel_report