We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3012424 commit e72632aCopy full SHA for e72632a
pandas/core/indexes/interval.py
@@ -558,8 +558,7 @@ def _maybe_convert_i8(self, key):
558
left = self._maybe_convert_i8(key.left)
559
right = self._maybe_convert_i8(key.right)
560
constructor = Interval if scalar else IntervalIndex.from_arrays
561
- # error: "object" not callable
562
- return constructor(left, right, closed=self.closed) # type: ignore[operator]
+ return constructor(left, right, closed=self.closed)
563
564
if scalar:
565
# Timestamp/Timedelta
0 commit comments