pandas.Timestamp.dayofweek#
- Timestamp.dayofweek#
Return day of the week.
- Returns:
- int
See also
Timestamp.isoweekdayReturn the ISO day of the week represented by the date.
Timestamp.weekdayReturn the day of the week represented by the date.
Timestamp.day_of_yearReturn day of the year.
Examples
>>> ts = pd.Timestamp(2020, 3, 14) >>> ts.day_of_week 5