pandas.Timestamp.dayofweek#

Timestamp.dayofweek#

Return day of the week.

Returns:
int

See also

Timestamp.isoweekday

Return the ISO day of the week represented by the date.

Timestamp.weekday

Return the day of the week represented by the date.

Timestamp.day_of_year

Return day of the year.

Examples

>>> ts = pd.Timestamp(2020, 3, 14)
>>> ts.day_of_week
5