Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CLN: get IntervalIndex comparisons from IntervalArray
  • Loading branch information
jbrockmendel committed Oct 14, 2020
commit cf20846c33d435b4a797d6d3e29679a3f447d2da
13 changes: 0 additions & 13 deletions pandas/core/indexes/interval.py
Original file line number Diff line number Diff line change
Expand Up @@ -1105,19 +1105,6 @@ def _is_all_dates(self) -> bool:

# TODO: arithmetic operations

# GH#30817 until IntervalArray implements inequalities, get them from Index
def __lt__(self, other):
return Index.__lt__(self, other)

def __le__(self, other):
return Index.__le__(self, other)

def __gt__(self, other):
return Index.__gt__(self, other)

def __ge__(self, other):
return Index.__ge__(self, other)


def _is_valid_endpoint(endpoint) -> bool:
"""
Expand Down