def METHOD_NAME(self, min_value, max_value):
    for metric in self.actual:
        metric = self.to_numeric(metric)
        if metric is None:
            yield context.result.fail_with_assertion_error('Column not support range.')
        else:
            yield min_value <= metric <= max_value