pyinterp.core.period.Period.is_adjacent

pyinterp.core.period.Period.is_adjacent#

Period.is_adjacent(self, other: pyinterp.core.period.Period) → bool#

Check if this period is adjacent to another period.

Parameters:

other – The other Period to check adjacency with.

Returns:

True if the periods are adjacent, False otherwise.