pandas.arrays.IntervalArray.right#
- property IntervalArray.right[source]#
Return the right endpoints of each Interval in the IntervalArray as an Index.
Examples
>>> interv_arr = pd.arrays.IntervalArray([pd.Interval(0, 1), pd.Interval(2, 5)]) >>> interv_arr <IntervalArray> [(0, 1], (2, 5]] Length: 2, dtype: interval[int64, right] >>> interv_arr.right Index([1, 5], dtype='int64')