ibis.expr.api.IntervalValue.years

IntervalValue.years

Extract the number of years from an IntervalValue expression.

Returns

The number of years in the expression

Return type

IntegerValue