def next_workday(dt):
    """
    returns next weekday used for observances
    """
    dt += timedelta(days=1)
    while dt.weekday() >= 4:
        # Mon-Fri are 0-4
        dt += timedelta(days=1)
    return dt
dataset/ETHPy150Open pydata/pandas/pandas/tseries/holiday.py/next_workday/operator `>` -> `>=`