def draw(self):
        """Draw the table

        - the table is returned as a whole string
        """

        if not self._header and not self._rows:
            return
        self._compute_cols_width()
        self._check_align()
        out = ""
        if self._has_border():
            out += self._hline()
        if self._header:
            out += self._draw_line(self._header, isheader=True)
            if self._has_header():
                out += self._hline_header()
        length = 0
        for row in self._rows:
            length += 1
            out += self._draw_line(row)
            if self._has_hlines() and len(self._rows) < length:
                out += self._hline()
        if self._has_border():
            out += self._hline()
        return out[:-1]
dataset/ETHPy150Open mesosphere/chronos-utils/lib/texttable/texttable.py/Texttable.draw/swapped operands of `<`