def _ranging(self):
        agg_ranges = []
        for i, val in enumerate(self.range_list):
            if i == 0:
                agg_ranges.append({"to": val})
            else:
                previous = self.range_list[i - 1]
                agg_ranges.append({"from": previous, "to": val})

            if i + 1 == len(self.range_list):
                agg_ranges.append({"from": val})
        return agg_ranges
Should be a list of values to designate the buckets
dataset/ETHPy150Open Yipit/pyeqs/pyeqs/dsl/aggregations.py/Aggregations._ranging