pandas.IntervalIndex.closed

property IntervalIndex.closed

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