ibis.expr.api.IntervalValue.weeks

IntervalValue.weeks

Extract the number of weeks from an IntervalValue expression.

Returns:
IntegerValue

The number of weeks in the expression