

def next_monday_or_tuesday(dt):
    '\n    For second holiday of two adjacent ones!\n    If holiday falls on Saturday, use following Monday instead;\n    if holiday falls on Sunday or Monday, use following Tuesday instead\n    (because Monday is already taken by adjacent holiday on the day before)\n    '
    dow = dt.weekday()
    if ((dow == 5) or (dow == 6)):
        return (dt + timedelta(2))
    elif (dow == 0):
        return (dow + timedelta(1))
    return dt

dataset/ETHPy150Open pydata/pandas/pandas/tseries/holiday.py next_monday_or_tuesday/VarMisuse@59/180 `dt`->`dow`