pandas.arrays.IntervalArray.left#
- property IntervalArray.left[source]#
Return the left 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.left Index([0, 2], dtype='int64')