code: def get_timeseries_items(
      config: Settings, summary: BaseDescription
  ) -> Container:
      def format_tsindex_limit(limit: Any) -> str:
          if isinstance(limit, datetime):
              return limit.strftime("%Y-%m-%d %H:%M:%S")
          else:
              return fmt_number(limit)
  
      assert isinstance(summary.time_index_analysis, TimeIndexAnalysis)
      table_stats = [
          {
              "name": "Number of series",
              "value": fmt_number(summary.time_index_analysis.n_series),
          },
          {
              "name": "Time series length",
              "value": fmt_number(summary.time_index_analysis.length),
          },
          {
              "name": "Starting point",
              "value": format_tsindex_limit(
                  summary.time_index_analysis.start
              ),
          },
          {
              "name": "Ending point",
              "value": format_tsindex_limit(
                  summary.time_index_analysis.end
              ),
          },
          {
              "name": "Period",
              "value": fmt_timespan_timedelta(
                  summary.time_index_analysis.period
              ),
          },
      ]
  
      ts_info = Table(
          table_stats,
          name="Timeseries statistics",
          style=config.html.style,
      )
  
      dpi_bak = config.plot.dpi
      config.plot.dpi = 300
      timeseries = ImageWidget(
          plot_overview_timeseries(config, summary.variables),
          image_format=config.plot.image_format,
          alt="ts_plot",
          name="Original",
          anchor_id="ts_plot_overview",
      )
      timeseries_scaled = ImageWidget(
          plot_overview_timeseries(
              config, summary.variables, scale=True
          ),
          image_format=config.plot.image_format,
          alt="ts_plot_scaled",
          name="Scaled",
          anchor_id="ts_plot_scaled_overview",
      )
      config.plot.dpi = dpi_bak
      ts_tab = Container(
          [timeseries, timeseries_scaled],
          anchor_id="ts_plot_overview",
          name="",
          sequence_type="tabs",
      )
  
      return Container(
          [ts_info, ts_tab],
          anchor_id="timeseries_overview",
          name="Time Series",
          sequence_type="grid",
      )
  
file_path: ydata-profiling/src/ydata_profiling/report/structure/overview.py
imports: from datetime import datetime
  from typing import Any, List
  from urllib.parse import quote
  from ydata_profiling.config import Settings
  from ydata_profiling.model import BaseDescription
  from ydata_profiling.model.alerts import AlertType
  from ydata_profiling.model.description import TimeIndexAnalysis
  from ydata_profiling.report.formatters import fmt, fmt_bytesize, fmt_number, fmt_numeric, fmt_percent, fmt_timespan, fmt_timespan_timedelta, list_args
  from ydata_profiling.report.presentation.core import Alerts, Container
  from ydata_profiling.report.presentation.core import Image
  from ydata_profiling.report.presentation.core import Table
  from ydata_profiling.report.presentation.core.renderable import Renderable
  from ydata_profiling.visualisation.plot import plot_overview_timeseries
label_desc: Use image node_id 6 for calling a global function with example usage: get_timeseries_items(config, summary) and returns: Container, limit, fmt_number