code: def add_table(self, dataframe, isStyled = False):
          
  
          if isStyled :
              table_string = dataframe.render()
          else :
              table_string = dataframe.style.render()
              
          table_string = table_string.replace("\n", "").replace("<table", """<table class = "table table-sm table-hover" """).replace("<thead>", """<thead class="thead-inverse">""")
          self.table = table_string
docs: This method stores plain html string.