modin.pandas.DatetimeIndex.day¶
- property DatetimeIndex.day: Index[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/modin/plugin/extensions/datetime_index.py#L307-L324)¶
The day of the datetime.
- Return type:
An Index with the day of the datetime.
Examples
>>> idx = pd.date_range("2000-01-01", periods=3, freq="D") >>> idx DatetimeIndex(['2000-01-01', '2000-01-02', '2000-01-03'], dtype='datetime64[ns]', freq=None) >>> idx.day Index([1, 2, 3], dtype='int64')