def weekend_fg(df):
    df['weekend_fg'] = [0 if 4 < x else 1 for x in df['dayofweek']]

#TODO: flag issues created on holidays?  (shameless reuse of feature from past Kaggle contest)
dataset/ETHPy150Open theusual/kaggle-seeclickfix-ensemble/Bryan/features.py/weekend_fg/swapped operands of `<`