modin.pandas.DatetimeIndex.day_of_year¶
- property DatetimeIndex.day_of_year: Index[source]¶
The ordinal day of the year.
- Return type:
An Index Containing integers indicating the ordinal day of the year.
Examples
>>> idx = pd.DatetimeIndex(["1/1/2020 10:00:00+00:00", ... "2/1/2020 11:00:00+00:00"]) >>> idx.dayofyear Index([1, 32], dtype='int64')