polars.internals.series.DateTimeNameSpace.month

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

Extract the month from the underlying date representation. Can be performed on Date and Datetime

Returns the month number starting from 1. The return value ranges from 1 to 12.

Returns
Month as UInt32