- API reference
- pandas arrays, scalars, and data types
- pandas.Inter...
pandas.Interval.closed_left#
- Interval.closed_left#
Check if the interval is closed on the left side.
For the meaning ofclosed andopen see
Interval.- Returns:
- bool
True if the Interval is closed on the left-side.
See also
Interval.closed_rightCheck if the interval is closed on the right side.
Interval.open_leftBoolean inverse of closed_left.
Examples
>>>iv=pd.Interval(0,5,closed='left')>>>iv.closed_leftTrue
>>>iv=pd.Interval(0,5,closed='right')>>>iv.closed_leftFalse
On this page