modin.pandas.Series.dt.dayofyear¶

Series.dt.dayofyear[source]¶

The ordinal day of the year.

Examples

>>> s = pd.Series(pd.to_datetime(["1/1/2020", "2/1/2020"]))
>>> s
0   2020-01-01
1   2020-02-01
dtype: datetime64[ns]
>>> s.dt.dayofyear
0     1
1    32
dtype: int16
Copy