polars.date#

polars.date(year: Expr | str | int, month: Expr | str | int, day: Expr | str | int) Expr[source]#

Create polars Date from distinct time components.

Parameters:
year

column or literal.

month

column or literal, ranging from 1-12.

day

column or literal, ranging from 1-31.

Returns:
Expr of type pl.Date