pyinterp.core.period.PeriodList.join_adjacent_periods#
- PeriodList.join_adjacent_periods(self, epsilon: object) pyinterp.core.period.PeriodList#
Join periods that are adjacent within a specified epsilon.
- Parameters:
epsilon – The maximum gap between periods to consider them adjacent, as a numpy.timedelta64 scalar.
- Returns:
A new PeriodList with adjacent periods merged.