woom.util.WoomDate.weekofyear

woom.util.WoomDate.weekofyear#

WoomDate.weekofyear#

Return the week number of the year.

Return type:

int

See also

Timestamp.weekday

Return the day of the week.

Timestamp.quarter

Return the quarter of the year.

Examples

>>> ts = pd.Timestamp(2020, 3, 14)
>>> ts.week
11