zcollection.merging.period.Period.contains#

Period.contains(other)[source]#

Check if the given period is contains this period.

Parameters:

other (datetime64 | Period) – The other period to check.

Returns:

  • True if other is a date and is inside the period, zero length periods contain no points

  • True if other is a period and fully contains (or equals) the other period

Return type:

bool