woom.util.WoomDate.dayofweek

woom.util.WoomDate.dayofweek#

WoomDate.dayofweek#

Return day of the week.

Return type:

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