Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pandas/core/indexes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5154,6 +5154,9 @@ def _get_engine_target(self) -> ArrayLike:
if isinstance(vals, StringArray):
# GH#45652 much more performant than ExtensionEngine
return vals._ndarray
if type(self) is Index and isinstance(self._values, ExtensionArray):
# TODO(ExtensionIndex): remove special-case, just use self._values
return self._values.astype(object)
return vals

def _from_join_target(self, result: np.ndarray) -> ArrayLike:
Expand Down