pandas.IntervalIndex.contains
- IntervalIndex.contains(*args, **kwargs)
Check elementwise if the Intervals contain the value.
Return a boolean mask whether the value is contained in the Intervals of the IntervalArray.
- Parameters:
- other : scalar
The value to check whether it is contained in the Intervals.
- Returns: