class_docstr: Provides a table cell.
  A cell can belong to a Row, but does not have to.
class_docstr_tok: ["Provides","a","table","cell",".","A","cell","can","belong","to","a","Row",",","but","does","not","have","to","."]
code: def alignment(self, output_format, **fmt_dict):
      fmt = self._get_fmt(output_format, **fmt_dict)
      datatype = self.datatype
      data_aligns = fmt.get("data_aligns", "c")
      if isinstance(datatype, int):
          align = data_aligns[datatype % len(data_aligns)]
      elif datatype == "stub":
          # still support deprecated `stubs_align`
          align = fmt.get("stubs_align") or fmt.get("stub_align", "l")
      elif datatype in fmt:
          label_align = "%s_align" % datatype
          align = fmt.get(label_align, "c")
      else:
          raise ValueError("Unknown cell datatype: %s" % datatype)
      return align
  
imports: from statsmodels.compat.python import lmap, lrange
  from itertools import cycle, zip_longest
  import csv
label_desc: Use image node_id 4 for calling the Cell obj's underlying member method code with example usage: obj.alignment(output_format) and returns: align