def _formats(self):
        res = []
        for c, t in enumerate(self._datatypes):
            if t == str:
                items = [len(self._split(l)[c]) for l in self._reallines[1:]
                         if self._datatypes_of_line(l) == self._datatypes]
                items.append(1)
                res.append(max(items) % 'S%i')

            elif t == float:
                res.append(t)

            else:
                raise TypeError("Hmm, did not expect: %r" % t)

        return tuple(res)
dataset/ETHPy150Open enthought/mayavi/mayavi/tools/data_wizards/csv_sniff.py/Sniff._formats/swapped operands of `%`