code: def add_range(self, name, min=None, max=None):
          
          self._ranges.append(_mk_range_bucket(name, 'min', 'max', min, max))
          return self
docs: Add a numeric range.
  
          :param str name:
              the name by which the range is accessed in the results
          :param int | float min: Lower range bound
          :param int | float max: Upper range bound
          :return: This object; suitable for method chaining