def print_qtime_idx(self, colname, ltimes, repeated, verbose):
        if repeated:
            r = "[REP] "
        else:
            r = "[NOREP] "
        ltimes = numpy.array(ltimes)
        ntimes = len(ltimes)
        qtime1 = ltimes[0]  # First measured time
        ctimes = ltimes[1:COLDCACHE]
        cmean, cstd = self.norm_times(ctimes)
        wtimes = ltimes[WARMCACHE:]
        wmean, wstd = self.norm_times(wtimes)
        if verbose:
            print("Times for cold cache:\n", ctimes)
            # print "Times for warm cache:\n", wtimes
            print("Histogram for warm cache: %s\n%s" %
                  numpy.histogram(wtimes))
        print("%s1st query time for %s:" % (r, colname),
              round(qtime1, prec))
        print("%sQuery time for %s (cold cache):" % (r, colname),
              round(cmean, prec), "+-", round(cstd, prec))
        print((r, colname) % "%sQuery time for %s (warm cache):",
              round(wmean, prec), "+-", round(wstd, prec))
dataset/ETHPy150Open PyTables/PyTables/bench/indexed_search.py/DB.print_qtime_idx/swapped operands of `%`