We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3453487 commit d747141Copy full SHA for d747141
pandas/core/indexes/base.py
@@ -3676,9 +3676,7 @@ def get_indexer(
3676
3677
from pandas.api.types import is_timedelta64_dtype
3678
3679
- if (self.dtype == "string[pyarrow]" and is_timedelta64_dtype(target.dtype)) or (
3680
- target.dtype == "string[pyarrow]" and is_timedelta64_dtype(self.dtype)
3681
- ):
+ if target.dtype == "string[pyarrow]" and is_timedelta64_dtype(self.dtype):
3682
from pandas.core.arrays.timedeltas import sequence_to_td64ns
3683
3684
data, freq = sequence_to_td64ns(target, copy=False, unit=None)
0 commit comments