modin.pandas.DatetimeIndex.day¶
- property DatetimeIndex.day: Index[source]¶
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')