polars.internals.series.DateTimeNameSpace.ordinal_day

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

Extract ordinal day from underlying date representation. Can be performed on Date and Datetime.

Returns the day of year starting from 1. The return value ranges from 1 to 366. (The last day of year differs by years.)

Returns
Day as UInt32