code: def report_html_groupby(logger, iteration=0):
      # type: (Logger, int) -> ()
      """
      reporting bokeh groupby (html) to debug samples section
      :param logger: The task.logger to use for sending the plots
      :param iteration: The iteration number of the current reports
      """
      output_file("bar_pandas_groupby_nested.html")
      bokeh_df.cyl = bokeh_df.cyl.astype(str)
      bokeh_df.yr = bokeh_df.yr.astype(str)
      group = bokeh_df.groupby(by=["cyl", "mfr"])
      index_cmap = factor_cmap(
          "cyl_mfr",
          palette=Spectral5,
          factors=sorted(bokeh_df.cyl.unique()),
          end=1,
      )
      p = figure(
          width=800,
          height=300,
          title="Mean MPG by # Cylinders and Manufacturer",
          x_range=group,
          toolbar_location=None,
          tooltips=[("MPG", "@mpg_mean"), ("Cyl, Mfr", "@cyl_mfr")],
      )
      p.vbar(
          x="cyl_mfr",
          top="mpg_mean",
          width=1,
          source=group,
          line_color="white",
          fill_color=index_cmap,
      )
      p.y_range.start = 0
      p.x_range.range_padding = 0.05
      p.xgrid.grid_line_color = None
      p.xaxis.axis_label = "Manufacturer grouped by # Cylinders"
      p.xaxis.major_label_orientation = 1.2
      p.outline_line_color = None
      save(p)
      logger.report_media(
          "html",
          "pandas_groupby_nested_html",
          iteration=iteration,
          local_path="bar_pandas_groupby_nested.html",
      )
  
file_path: clearml/examples/reporting/html_reporting.py
imports: import math
  import numpy
  from bokeh.models import ColumnDataSource, GraphRenderer, Ellipse, StaticLayoutProvider
  from bokeh.palettes import Spectral5, Spectral8
  from bokeh.plotting import figure, output_file, save
  from bokeh.sampledata.autompg import autompg_clean
  from bokeh.sampledata.periodic_table import elements
  from bokeh.transform import dodge, factor_cmap
  from clearml import Task, Logger
label_desc: Use image node_id 3 for calling a global function with example usage: report_html_groupby(logger, iteration) without return types