def set_style(self, name):
        if isinstance(name, TableStyle):
            self._style = name
        elif name in self.styles:
            self._style = self.styles[name]
        else:
            raise CleoException('Style "%s" is not defined.' % name)

        return self
Sets table style.
dataset/ETHPy150Open sdispater/cleo/cleo/helpers/table.py/Table.set_style