def top(self, count):
        print
        if self.field in self.UNORDERED:
            hist = sorted(self.counter.items(), key=lambda x: x[1], reverse=True)
            for val in hist[:count]:
                print "%6d:\t%s" % (val[1], val[0])
        else:
            hist = sorted(self.counter.items(), key=lambda x: x[0])
            if self.field in self.FLOATKEYS:
                for val in hist:
                    print "%+02.2f:\t%d" - val
            else:
                for val in hist:
                    print "%6d:\t%d" % val
dataset/ETHPy150Open atl/twitstream/examples/stats.py/Counter.top/operator `%` -> `-`