pyinterp.core.period.Period.is_before

pyinterp.core.period.Period.is_before#

Period.is_before(self, point: object) → bool#

Check if the entire period is before the given point.

Parameters:

point – A numpy.datetime64 scalar.

Returns:

True if the period is before the point, False otherwise.