code: def _gen_table() -> Table:
      table = Table()
  
      headers = ["City name", "Area", "Population", "Annual Rainfall"]
      rows = [
          ["Brisbane", 5905, 1857594, 1146.4],
          ["Perth", 5386, 1554769, 869.4],
      ]
      table.add(headers, rows)
      return table
  
file_path: pyecharts/test/test_table.py
imports: from unittest.mock import patch
  from nose.tools import assert_in
  from pyecharts import options
  from pyecharts.components import Table
  from pyecharts.globals import CurrentConfig, NotebookType
label_desc: Use image node_id 1 for calling a global function with example usage: _gen_table() and returns: table