code: def SimpleTable(
      df: pd.DataFrame,
      title: str = "",
      classes: str = "",
      show_index: bool = True,
      show_columns: bool = True,
  ) -> Component:
      header = []
      if show_columns:
          header = [
              html.Thead(
                  [
                      html.Tr(
                          (
                              [html.Th(df.index.name or "")]
                              if show_index
                              else []
                          )
                          + [html.Th(col) for col in df.columns]
                      )
                  ],
                  className="thead-dark",
              )
          ]
      body = [
          html.Tbody(
              [
                  html.Tr(
                      ([html.Th(index)] if show_index else [])
                      + [html.Td(value) for value in row]
                  )
                  for index, row in df.iterrows()
              ]
          )
      ]
      table = html.Table(
          header + body,
          className=f"table table-sm table-striped dataframe {classes}",
      )
      head = [html.H4(title)] if title else []
      return html.Div(head + [table])
  
imports: from typing import Optional
  import pandas
  from tslumen.misc import import_error_class, import_error_module
label_desc: Use image node_id 4 for calling a global function with example usage: SimpleTable(df, title, classes, show_index, show_columns) and returns: html