class_docstr: Provides a table row as a list of cells.
  A row can belong to a SimpleTable, but does not have to.
class_docstr_tok: ["Provides","a","table","row","as","a","list","of","cells",".","A","row","can","belong","to","a","SimpleTable",",","but","does","not","have","to","."]
docstr: Return string: the formatted row.
  This is the default formatter for rows.
  Override this to get different formatting.
  A row formatter must accept as arguments
  a row (self) and an output format,
  one of ('html', 'txt', 'csv', 'latex').
docstr_tok: ["Return","string",":","the","formatted","row",".","This","is","the","default","formatter","for","rows",".","Override","this","to","get","different","formatting",".","A","row","formatter","must","accept","as","arguments","a","row","(","self",")","and","an","output","format",",","one","of","(","'html","'",",","'txt","'",",","'csv","'",",","'latex","'",")","."]
code: def as_string(self, output_format="txt", **fmt_dict):
      """Return string: the formatted row.
      This is the default formatter for rows.
      Override this to get different formatting.
      A row formatter must accept as arguments
      a row (self) and an output format,
      one of ('html', 'txt', 'csv', 'latex').
      """
      fmt = self._get_fmt(output_format, **fmt_dict)
  
      # get column widths
      try:
          colwidths = self.table.get_colwidths(output_format, **fmt)
      except AttributeError:
          colwidths = fmt.get("colwidths")
      if colwidths is None:
          colwidths = (0,) * len(self)
  
      colsep = fmt["colsep"]
      row_pre = fmt.get("row_pre", "")
      row_post = fmt.get("row_post", "")
      formatted_cells = []
      for cell, width in zip(self, colwidths):
          content = cell.format(
              width, output_format=output_format, **fmt
          )
          formatted_cells.append(content)
      formatted_row = row_pre + colsep.join(formatted_cells) + row_post
      formatted_row = self._decorate_below(
          formatted_row, output_format, **fmt
      )
      return formatted_row
  
imports: from statsmodels.compat.python import lmap, lrange
  from itertools import cycle, zip_longest
  import csv
label_desc: Use image node_id 6 for calling the Row obj's underlying member method code with example usage: obj.as_string(output_format) and returns: formatted_row