ibis.expr.api.IntervalValue.years

IntervalValue.years

Extract the number of years from an IntervalValue expression.

Returns
IntegerValue

The number of years in the expression