def __str__(self):
        values = ['%.10f:%.0f' % (self._bin_scheme.from_bin(i), value) for
                  i, value in enumerate(self._hist[:-1])]
        values.append('%s:%s' % (float('inf'), self._hist[-1]))
        return '{%s}' % ','.join(values)
dataset/ETHPy150Open dpkp/kafka-python/kafka/metrics/stats/histogram.py/Histogram.__str__/original