polars.internals.expr.ExprDateTimeNameSpace.year¶
- ExprDateTimeNameSpace.year() polars.internals.expr.Expr ¶
Extract year from underlying Date representation. Can be performed on Date and Datetime.
Returns the year number in the calendar date.
- Returns
- Year as Int32