polars.internals.series.DateTimeNameSpace.weekday

DateTimeNameSpace.weekday() polars.internals.series.Series

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