class_docstr: Internal class for formatting output data in html.
  This class is intended for shared functionality between
  DataFrame.to_html() and DataFrame._repr_html_().
  Any logic in common with other output formatting methods
  should ideally be inherited from classes in format.py
  and this class responsible for only producing html markup.
class_docstr_tok: ["Internal","class","for","formatting","output","data","in","html",".","This","class","is","intended","for","shared","functionality","between","DataFrame.to_html","(",")","and","DataFrame._repr_html_","(",")",".","Any","logic","in","common","with","other","output","formatting","methods","should","ideally","be","inherited","from","classes","in","format.py","and","this","class","responsible","for","only","producing","html","markup","."]
code: def _write_table(self, indent=0):
      _classes = ["dataframe"]  # Default class.
      use_mathjax = get_option("display.html.use_mathjax")
      if not use_mathjax:
          _classes.append("tex2jax_ignore")
      if self.classes is not None:
          if isinstance(self.classes, str):
              self.classes = self.classes.split()
          if not isinstance(self.classes, (list, tuple)):
              raise AssertionError(
                  "classes must be list or tuple, not {typ}".format(
                      typ=type(self.classes)
                  )
              )
          _classes.extend(self.classes)
  
      if self.table_id is None:
          id_section = ""
      else:
          id_section = ' id="{table_id}"'.format(table_id=self.table_id)
  
      self.write(
          '<table border="{border}" class="{cls}"{id_section}>'.format(
              border=self.border,
              cls=" ".join(_classes),
              id_section=id_section,
          ),
          indent,
      )
  
      if self.fmt.header or self.show_row_idx_names:
          self._write_header(indent + self.indent_delta)
  
      self._write_body(indent + self.indent_delta)
  
      self.write("</table>", indent)
  
imports: from __future__ import print_function
  from textwrap import dedent
  from pandas.compat import OrderedDict, lzip, map, range, u, unichr, zip
  from pandas.core.dtypes.generic import ABCMultiIndex
  from pandas import compat
  import pandas.core.common
  from pandas.core.config import get_option
  from pandas.io.common import _is_url
  from pandas.io.formats.format import TableFormatter, get_level_lengths
  from pandas.io.formats.printing import pprint_thing
label_desc: Use image node_id 13 for calling the HTMLFormatter obj's underlying member method code with example usage: obj._write_table(indent) without return types