code: def _get_column_formatters(self, max_rows, as_html):
          
          formats = {s: self._formats.get(s, self.formatter) for s in self.labels}
          cols = self._columns.items()
          fmts = [formats[k].format_column(k, v[:max_rows]) for k, v in cols]
          if as_html:
              fmts = list(map(type(self)._use_html_if_available, fmts))
          return fmts
docs: Return one value formatting function per column.
  
          Each function has the signature f(value, label=False) -> str