polars.internals.expr.ExprDateTimeNameSpace.weekday

ExprDateTimeNameSpace.weekday() polars.internals.expr.Expr

Extract the week day from the underlying Date representation. Can be performed on Date and Datetime.

Returns the weekday number where monday = 0 and sunday = 6

Returns
Week day as UInt32