def _range_intersect(self, other, sort):
    left = self._as_range_index
    right = other._as_range_index
    res_i8 = left.intersection(right, sort=sort)
    return self._wrap_range_setop(other, res_i8)
def _range_intersect(self, other, sort):
    left = self._as_range_index
    right = other._as_range_index
    res_i8 = left.intersection(right, sort=sort)
    return self._wrap_range_setop(other, res_i8)