pandas.arrays.IntervalArray.overlaps

pandas 3.1.1 · Arrays, scalars, and data types · method

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

Call syntax

IntervalArray.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
IntervalArray

Supply the second object or value used in the operation.

Returns

ndarray