pandas.IntervalIndex.closed

IntervalIndex.closed: str

Whether the intervals are closed on the left-side, right-side, both or neither.