def index_db(self, dtype, kind, optlevel, verbose):
        if dtype == "int":
            idx_cols = ['col2']
        elif dtype == "float":
            idx_cols = ['col4']
        else:
            idx_cols = ['col2', 'col4']
        for colname in idx_cols:
            t1 = time()
            self.index_col(self.con, colname, kind, optlevel, verbose)
            self.print_mtime(t1, colname % 'Index time (%s)')
dataset/ETHPy150Open PyTables/PyTables/bench/indexed_search.py/DB.index_db/swapped operands of `%`