pandas.IntervalIndex.overlaps

pandas 3.1.1 · Index objects · method

Check whether intervals share any point, accounting for whether their endpoints are included.

Call syntax

IntervalIndex.overlaps(other)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
other Required
Positional or keyword
Interval

Supply the second object or value used in the operation.

Returns

ndarray