pandas.Interval.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

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

bool