code: def create_metric_stats_table(metric_stats=None, column=None):
      if (
          metric_stats is None
          or len(metric_stats) == 0
          or column not in metric_stats
      ):
          data = [{"Stats": "", "Value": ""}]
      else:
          data = [
              {"Stats": key, "Value": value}
              for key, value in metric_stats[column].items()
          ]
  
      table = dash_table.DataTable(
          id="metric-stats",
          data=data,
          columns=[
              {"id": "Stats", "name": "Stats"},
              {"id": "Value", "name": "Value"},
          ],
          editable=False,
          style_header_conditional=[
              {"textAlign": "center", "font-family": "Salesforce Sans"}
          ],
          style_cell_conditional=[
              {"textAlign": "center", "font-family": "Salesforce Sans"}
          ],
          style_header=dict(
              backgroundColor=TABLE_HEADER_COLOR, color="white"
          ),
          style_data=dict(backgroundColor=TABLE_DATA_COLOR),
      )
      return table
  
file_path: merlion/merlion/dashboard/pages/data.py
imports: from dash import dcc
  from dash import html, dash_table
  from merlion.dashboard.pages.utils import create_modal, create_empty_figure
  from merlion.dashboard.settings import *
label_desc: Use image node_id 2 for calling a global function with example usage: create_metric_stats_table(metric_stats, column) and returns: table