Skip to main content
`Ctrl`+`K`

# pandas.tseries.offsets.LastWeekOfMonth.weekday

LastWeekOfMonth.weekday

  Return the day of the week on which this offset applies.

  The weekday is represented as an integer where 0 is Monday and 6 is Sunday. This is the specific day of the week targeted within the specified week of the month.

  Returns:
    int

      An integer from 0 (Monday) to 6 (Sunday) representing the day of the week.

  See also

  `tseries.offsets.WeekOfMonth`

    Describes monthly dates in a specific week.

  `tseries.offsets.LastWeekOfMonth`

    Describes monthly dates in last week.

  `tseries.offsets.Week.weekday`

    Return the day of the week for Week offset.

  Examples

      >>> pd.offsets.WeekOfMonth(week=0, weekday=0).weekday
      0

      >>> pd.offsets.WeekOfMonth(week=2, weekday=3).weekday
      3

      >>> pd.offsets.LastWeekOfMonth(weekday=5).weekday
      5