class_docstr: Generate a profile report from a Dataset stored as a pandas `DataFrame`.
  
  Used as is, it will output its content as an HTML report in a Jupyter notebook.
class_docstr_tok: ["Generate","a","profile","report","from","a","Dataset","stored","as","a","pandas","`","DataFrame","`",".","Used","as","is",",","it","will","output","its","content","as","an","HTML","report","in","a","Jupyter","notebook","."]
code: def _render_html(self) -> str:
      from ydata_profiling.report.presentation.flavours import (
          HTMLReport,
      )
  
      report = self.report
  
      with tqdm(
          total=1,
          desc="Render HTML",
          disable=not self.config.progress_bar,
      ) as pbar:
          html = HTMLReport(copy.deepcopy(report)).render(
              nav=self.config.html.navbar_show,
              offline=self.config.html.use_local_assets,
              inline=self.config.html.inline,
              assets_prefix=self.config.html.assets_prefix,
              primary_color=self.config.html.style.primary_colors[0],
              logo=self.config.html.style.logo,
              theme=self.config.html.style.theme,
              title=self.description_set.analysis.title,
              date=self.description_set.analysis.date_start,
              version=self.description_set.package[
                  "ydata_profiling_version"
              ],
          )
  
          if self.config.html.minify_html:
              from htmlmin.main import minify
  
              html = minify(
                  html,
                  remove_all_empty_space=True,
                  remove_comments=True,
              )
          pbar.update()
      return html
  
imports: import copy
  import json
  import warnings
  from pathlib import Path
  from typing import Any, Optional, Union
  from dataclasses import asdict, is_dataclass
  import numpy
  import pandas
  from tqdm.auto import tqdm
  from typeguard import typechecked
  from visions import VisionsTypeset
  from ydata_profiling.config import Config, Settings, SparkSettings
  from ydata_profiling.expectations_report import ExpectationsReport
  from ydata_profiling.model import BaseDescription
  from ydata_profiling.model.alerts import AlertType
  from ydata_profiling.model.describe import describe
  from ydata_profiling.model.sample import Sample
  from ydata_profiling.model.summarizer import BaseSummarizer, PandasProfilingSummarizer, format_summary, redact_summary
  from ydata_profiling.model.typeset import ProfilingTypeSet
  from ydata_profiling.report import get_report_structure
  from ydata_profiling.report.presentation.core import Root
  from ydata_profiling.report.presentation.flavours.html.templates import create_html_assets
  from ydata_profiling.serialize_report import SerializeReport
  from ydata_profiling.utils.dataframe import hash_dataframe
  from ydata_profiling.utils.paths import get_config
label_desc: Use image node_id 18 for calling the ProfileReport obj's underlying member method code with example usage: obj._render_html() and returns: html