def sunday_to_monday(dt):
    if dt.weekday() == 6:
        return dt + timedelta(1)
    return dt
If holiday falls on Sunday, use day thereafter (Monday) instead.
dataset/ETHPy150Open pydata/pandas/pandas/tseries/holiday.py/sunday_to_monday