ByWeek

time.ByWeek(self, start_of_week=0)

An instance of TimeGrouping. Group by week, using the given start of the week.

Parameters

start_of_week: int = 0

Which day of the week is the begins each weekly group? This uses the Python standard numbering for week days, so 0=Monday and 6=Sunday.

Attributes

start_of_week: int

Which day of the week should we group on? 0=Monday through 6=Sunday