pandas.Series.dt.day_of_year

Series.dt.day_of_year

The ordinal day of the year.