maxframe.liteframe.LiteFrame.dt.dayofweek#

LiteFrame.dt.dayofweek#

The day of the week with Monday=0, Sunday=6.

Return the day of the week. It is assumed the week starts on Monday, which is denoted by 0 and ends on Sunday which is denoted by 6. This method is available on both Series with datetime values (using the dt accessor) or DatetimeIndex.

Returns:

Containing integers indicating the day number.

Return type:

Series or Index

See also

LiteFrame.dt.dayofweek

Alias.

LiteFrame.dt.weekday

Alias.

LiteFrame.dt.day_name

Returns the name of the day of the week.