(self)
| 447 | # "Union[IndexEngine, ExtensionEngine]" in supertype "Index" |
| 448 | @cache_readonly |
| 449 | def _engine(self) -> IntervalTree: # type: ignore[override] |
| 450 | # IntervalTree does not supports numpy array unless they are 64 bit |
| 451 | left = self._maybe_convert_i8(self.left) |
| 452 | left = maybe_upcast_numeric_to_64bit(left) |
| 453 | right = self._maybe_convert_i8(self.right) |
| 454 | right = maybe_upcast_numeric_to_64bit(right) |
| 455 | return IntervalTree(left, right, closed=self.closed) |
| 456 | |
| 457 | def __contains__(self, key: Any) -> bool: |
| 458 | """ |
nothing calls this directly
no test coverage detected