modin.pandas.DatetimeIndex.day_of_year¶
- property DatetimeIndex.day_of_year: Index[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/modin/plugin/extensions/datetime_index.py#L476-L492)¶
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')