def set_heading(self, col, val, **kwargs):
        val = check_object(val)
        # auto-fill intermediate cells, if necessary.
        for inter in range(col - len(self._headings)):
            self._headings.append(self.dtd.Th(**kwargs))
        th = self._headings[col-1]
        th.append(val)
        return th
Set heading at column <col> (origin 1) to <val>.
dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/XHTML.py/TableMixin.set_heading