code: def format_prs(mod_df):
      out = []
      for idx, row in mod_df.iterrows():
          if exclude_prototype and row["prototype"]:
              continue
          modules = idx
          # Put "documentation" and "tests" first for sorting to be dece
          for last_module in ("documentation", "tests"):
              if last_module in modules:
                  modules = [m for m in modules if m != last_module] + [
                      last_module
                  ]
  
          module = f"[{', '.join(modules)}]"
          module = module.replace(
              "referencescripts", "reference scripts"
          )
          module = module.replace("code", "reference scripts")
          out.append(f"{module} {row['title']}")
  
      return "\n".join(out)
  
label_desc: Use image node_id 1 for calling a global function with example usage: format_prs(mod_df) and returns: str