pyinterp.core.period.Period.duration# Period.duration(self) → object# Get the duration of the period.