class_docstr: Class that generates a report about the issues stored in a :py:class:`DataIssues` object.
  
  Parameters
  ----------
  data_issues :
      The :py:class:`DataIssues` object containing the issues to report on. This is usually
      generated by the :py:class:`Datalab` class, stored in the :py:attr:`data_issues` attribute,
      and then passed to the :py:class:`Reporter` class to generate a report.
  
  task :
      Specific machine learning task like classification or regression.
  
  verbosity :
      The default verbosity of the report to generate. Each :py:class`IssueManager`
      specifies the available verbosity levels and what additional information
      is included at each level.
  
  include_description :
      Whether to include the description of each issue type in the report. The description
      is included by default, but can be excluded by setting this parameter to ``False``.
  
  Note
  ----
  This class is not intended to be used directly. Instead, use the
  `Datalab.find_issues` method which internally utilizes an IssueFinder instance.
docstr: Constructs a report about identified issues in the data.
  
  Parameters
  ----------
  num_examples :
      The number of examples to include in the report for each issue type.
  
  
  Returns
  -------
  report_str :
      A string containing the report.
  
  Examples
  --------
  >>> from cleanlab.datalab.internal.report import Reporter
  >>> reporter = Reporter(data_issues=data_issues, include_description=False)
  >>> report_str = reporter.get_report(num_examples=5)
  >>> print(report_str)
code: def get_report(self, num_examples: int) -> str:
      """Constructs a report about identified issues in the data.
  
      Parameters
      ----------
      num_examples :
          The number of examples to include in the report for each issue type.
  
  
      Returns
      -------
      report_str :
          A string containing the report.
  
      Examples
      --------
      >>> from cleanlab.datalab.internal.report import Reporter
      >>> reporter = Reporter(data_issues=data_issues, include_description=False)
      >>> report_str = reporter.get_report(num_examples=5)
      >>> print(report_str)
      """
      report_str = ""
      issue_summary = self.data_issues.issue_summary
      issue_summary_sorted = issue_summary.sort_values(
          by="num_issues", ascending=False
      )
      report_str += self._write_summary(summary=issue_summary_sorted)
  
      issue_types = self._get_issue_types(issue_summary_sorted)
  
      issue_reports = [
          _IssueManagerFactory.from_str(
              issue_type=key, task=self.task
          ).report(
              issues=self.data_issues.get_issues(issue_name=key),
              summary=self.data_issues.get_issue_summary(
                  issue_name=key
              ),
              info=self.data_issues.get_info(issue_name=key),
              num_examples=num_examples,
              verbosity=self.verbosity,
              include_description=self.include_description,
          )
          for key in issue_types
      ]
  
      report_str += "\n\n\n".join(issue_reports)
      return report_str
  
file_path: cleanlab/cleanlab/datalab/internal/report.py
imports: from typing import TYPE_CHECKING, List
  import pandas
  from cleanlab.datalab.internal.adapter.constants import DEFAULT_CLEANVISION_ISSUES
  from cleanlab.datalab.internal.issue_manager_factory import _IssueManagerFactory
label_desc: Use image node_id 3 for calling the Reporter obj's underlying member method code with example usage: obj.get_report(num_examples) and returns: report_str