modin.pandas.Series.dt.dayofyear¶
- Series.dt.dayofyear[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/.tox/docs/lib/python3.9/site-packages/modin/pandas/series_utils.py#L649-L651)¶
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