def _longest_val_in_column(self, col):
        """
        get size of longest value in specific column

        :param col: str, column name
        :return int
        """
        try:
            # +2 is for implicit separator
            return max([len(x[col]) for x in self.table if x[col]]) + 2
        except __HOLE__:
            logger.error("there is no column %r", col)
            raise
dataset/ETHPy150Open projectatomic/osbs-client/osbs/cli/render.py/TableFormatter._longest_val_in_column