class_docstr: Basic Table
class_docstr_tok: ["Basic","Table"]
docstr: Add table to the report
  
  Args:
      table_header (list): list of str
      table_data (list): list of str
      col_width (list): list of float,
          default: None (evenly divided for the whole page width)
      notes (str, Optional):
          explain the block
docstr_tok: ["Add","table","to","the","report","Args",":","table_header","(","list",")",":","list","of","str","table_data","(","list",")",":","list","of","str","col_width","(","list",")",":","list","of","float",",","default",":","None","(","evenly","divided","for","the","whole","page","width",")","notes","(","str",",","Optional",")",":","explain","the","block"]
code: def __init__(
      self,
      table_header: list,
      table_data: list,
      col_width: list,
      notes=None,
  ) -> None:
      """
      Add table to the report
  
      Args:
          table_header (list): list of str
          table_data (list): list of str
          col_width (list): list of float,
              default: None (evenly divided for the whole page width)
          notes (str, Optional):
              explain the block
      """
      super(BasicTable, self).__init__(table_header, table_data, notes)
      self._table_header = table_header
      self._table_data = table_data
      self._col_width = col_width
      self._notes = None
      if not (notes is None):
          self._notes = notes
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from xai.formatter.contents.base import Content
  from xai.formatter.writer.base import Writer
label_desc: Use image node_id 1 to create a new BasicTable object from inherited base classes: Content with example: obj = BasicTable(table_header, table_data, col_width, notes)