polars.date#

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

Create a Polars literal expression of type Date.

Parameters:
year

column or literal.

month

column or literal, ranging from 1-12.

day

column or literal, ranging from 1-31.

Returns:
Expr

Expression of data type Date.