class_docstr: Test Case to generate pdf report
class_docstr_tok: ["Test","Case","to","generate","pdf","report"]
code: def test_add_basic_table(self):
      self.name = "basic-table"
      self.report_name = "Basic Table Report"
      self.page_number = 2
      ## Create Report
      self.report = Report(name=self.report_name)
      ### Create Basic Info Section
      self.report.detail.add_new_page()
      self.report.detail.add_section_title("Example for Basic Table ")
      ### Add Header Level 1
      self.report.detail.add_header_level_1(text="Team Info Table")
      header_list = ["Name", "Team"]
      print(header_list)
      data_list = [
          ["Chai", "MKT"],
          ["NP", "MKT"],
          ["WJ", "CA"],
          ["Sean", "CA"],
      ]
      print(data_list)
      self.report.detail.add_table(
          table_header=header_list,
          table_data=data_list,
          col_width=[20, 20],
          notes="Team Info",
      )
      print(self.report.detail.contents)
      self.assertEqual(len(self.report.detail.contents), 4)
  
imports: import json
  import os
  import sys
  import unittest
  from pathlib import Path
  import warnings
  import numpy
  import pandas
  from PyPDF2 import PdfFileReader
  from datetime import datetime
  from xai.data import DataUtil
  from xai.data.constants import DATATYPE
  from xai.model.interpreter import FeatureInterpreter
  from xai.formatter import Report, PdfWriter
  from tests.formatter.util import prepare_input_path, prepare_output_path
label_desc: Use image node_id 5 for calling the TestGeneratePdfReport obj's underlying member method code with example usage: obj.test_add_basic_table() without return types