modin.pandas.Series.dt.dayofyear¶
- Series.dt.dayofyear¶
The ordinal day of the year.
Examples
>>> s = 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
The ordinal day of the year.
Examples
>>> s = 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