The result would be the end date of the month, which is exactly the next day of the given date - 11/30/2019. So when we call the weekay() on the resultant pd.Timestamp, it will be 5.