class_docstr: Class holding the contents of the "Summary" section
class_docstr_tok: ["Class","holding","the","contents","of","the","``","Summary","''","section"]
code: def __init__(
      self,
      result: BundledResult,
      meta: dict,
      df: pd.DataFrame,
      scheduler: Optional[Scheduler] = None,
  ) -> None:
      _ = (df, scheduler)
      frame = result.result.frame
  
      # Tab: Overview
      self.n_series = frame.get("n_series", "")
      self.length = frame.get("length", -1)
      self.dt_start = frame.get("dt_start", "")
      self.dt_end = frame.get("dt_end", "")
      self.freq = frame.get("freq", -1)
      self.period = frame.get("period", "")
      self.sz_total = frame.get("sz_total", -1)
      self.sz_rec = frame.get("sz_total", 0) / frame.get("n_series", 1)
  
      df_scaled = frame.get("df_scaled", None)
      self.plot = TS(df, figsize=(5.8, 2.8), yaxis=False, legend=True)
      self.plot_scaled = (
          None
          if df_scaled is None
          else TS(
              df_scaled, figsize=(5.8, 2.8), yaxis=False, legend=True
          )
      )
  
      # Tab: Metadata
      self.meta_frame = meta.get("frame", {})
      self.meta_series = meta.get("series", {})
  
      # Tab: Execution stats
      self.exec_start = result.start
      self.exec_end = result.end
      self.exec_duration = result.end - result.start
      self.package = "tslumen"
      self.version = tslumen.__version__
      self.config = result.result.config
      self.config_dict = pformat(result.result.config)
      self.config_yaml = yaml.dump(result.result.config)
  
      # Tab: Issues
      self.issues = (
          result.result.exec_details.query("~ Succeeded")[
              ["Profiler", "Scope", "Target", "Exceptions"]
          ]
          .sort_values(["Profiler", "Target"])
          .reset_index(drop=True)
      )
  
imports: from typing import Dict, Any, Optional
  from pprint import pformat
  import pandas
  import yaml
  import tslumen
  from tslumen.misc import lazyproperty
  from tslumen.scheduling import Scheduler
  from tslumen.profile import BundledResult
  from tslumen import jinja_utils
  from tslumen.report.html.base import HtmlBlock
  from tslumen.plot.static import TS, TSStack, Distribution, BoxPlot, LagCorrelation, LagMatrix, Radar, Heatmap, ScatterMatrix, GrangerMatrix, GrangerGraph
label_desc: Use image node_id 1 to create a new SectionSummary object from inherited base classes: HtmlBlock with example: obj = SectionSummary(result, meta, df, scheduler)