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_regular_rows(self, fmt_values, indent):
      truncate_h = self.fmt.truncate_h
      truncate_v = self.fmt.truncate_v
  
      nrows = len(self.fmt.tr_frame)
  
      if self.fmt.index:
          fmt = self.fmt._get_formatter("__index__")
          if fmt is not None:
              index_values = self.fmt.tr_frame.index.map(fmt)
          else:
              index_values = self.fmt.tr_frame.index.format()
  
      row = []
      for i in range(nrows):
          if truncate_v and i == (self.fmt.tr_row_num):
              str_sep_row = ["..."] * len(row)
              self.write_tr(
                  str_sep_row,
                  indent,
                  self.indent_delta,
                  tags=None,
                  nindex_levels=self.row_levels,
              )
  
          row = []
          if self.fmt.index:
              row.append(index_values[i])
          # see gh-22579
          # Column misalignment also occurs for
          # a standard index when the columns index is named.
          # Add blank cell before data cells.
          elif self.show_col_idx_names:
              row.append("")
          row.extend(fmt_values[j][i] for j in range(self.ncols))
  
          if truncate_h:
              dot_col_ix = self.fmt.tr_col_num + self.row_levels
              row.insert(dot_col_ix, "...")
          self.write_tr(
              row,
              indent,
              self.indent_delta,
              tags=None,
              nindex_levels=self.row_levels,
          )
  
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 18 for calling the HTMLFormatter obj's underlying member method code with example usage: obj._write_regular_rows(fmt_values, indent) without return types