MCPcopy
hub / github.com/pandas-dev/pandas / _outer_indexer

Method _outer_indexer

pandas/core/indexes/base.py:423–431  ·  view source on GitHub ↗
(
        self, other: Self
    )

Source from the content-addressed store, hash-verified

421
422 @final
423 def _outer_indexer(
424 self, other: Self
425 ) -> tuple[ArrayLike, npt.NDArray[np.intp], npt.NDArray[np.intp]]:
426 # Caller is responsible for ensuring other.dtype == self.dtype
427 sv = self._get_join_target()
428 ov = other._get_join_target()
429 joined_ndarray, lidx, ridx = libjoin.outer_join_indexer(sv, ov)
430 joined = self._from_join_target(joined_ndarray)
431 return joined, lidx, ridx
432
433 _typ: str = "index"
434 _data: ExtensionArray | np.ndarray

Callers 3

_unionMethod · 0.95
_join_monotonicMethod · 0.95

Calls 2

_get_join_targetMethod · 0.95
_from_join_targetMethod · 0.95

Tested by 1