polars.internals.expr.datetime.ExprDateTimeNameSpace.iso_year#

ExprDateTimeNameSpace.iso_year() Expr[source]#

Extract ISO year from underlying Date representation.

Applies to Date and Datetime columns.

Returns the year number in the ISO standard. This may not correspond with the calendar year.

Returns:
ISO Year as Int32