code: def create_results_dataframe(
      results: t.Sequence["check_types.CheckResult"],
      output_id: t.Optional[str] = None,
      is_for_iframe_with_srcdoc: bool = False,
  ) -> pd.DataFrame:
      """Create dataframe with check results.
  
      Parameters
      ----------
      results : Sequence['CheckResult']
          check results
      output_id : str
          unique identifier of the output, it will be used to
          form a link (html '<a></a>' tag) to the check result
          full output
      is_for_iframe_with_srcdoc : bool, default False
          anchor links, in order to work within iframe require additional prefix
          'about:srcdoc'. This flag tells function whether to add that prefix to
          the anchor links or not
  
      Returns
      -------
      pd.Dataframe:
          the condition table.
      """
      data = []
  
      for check_result in results:
          check_header = check_result.get_header()
          if output_id and check_result.display:
              header = linktag(
                  text=check_header,
                  href=f"#{check_result.get_check_id(output_id)}",
                  is_for_iframe_with_srcdoc=is_for_iframe_with_srcdoc,
              )
          else:
              header = check_header
          summary = check_result.get_metadata(with_doc_link=True)[
              "summary"
          ]
          data.append([header, summary])
  
      return pd.DataFrame(data=data, columns=["Check", "Summary"])
  
imports: import io
  import json
  import textwrap
  import typing
  from contextlib import contextmanager
  import matplotlib
  import matplotlib.pyplot
  import numpy
  import pandas
  import plotly.io._html
  from ipywidgets import DOMWidget
  from jsonpickle.pickler import Pickler
  from pandas.io.formats.style import Styler
  from plotly.io._utils import plotly_cdn_url
  from plotly.offline.offline import get_plotlyjs
  from deepchecks.core import check_result
  from deepchecks.core import errors
  from deepchecks.utils.dataframes import hide_index_for_display, un_numpy
  from deepchecks.utils.html import linktag
  from deepchecks.utils.strings import truncate_string
label_desc: Use image node_id 6 for calling a global function with example usage: create_results_dataframe(results, output_id, is_for_iframe_with_srcdoc) and returns: pd