pandas.Interval.left#
- Interval.left#
Left bound for the interval.
The left endpoint of the interval. Whether it is included in the interval depends on the value of
closed.See also
Interval.rightReturn the right bound for the interval.
numpy.ndarray.leftA similar method in numpy for obtaining the left endpoint(s) of intervals.
Examples
>>> interval = pd.Interval(left=1, right=2, closed='left') >>> interval Interval(1, 2, closed='left') >>> interval.left 1