def nbr_longlat(df):
    #replace generic neighborhoods with rounded long/lat combination
    df['nbr_longlat'] = df['neighborhood']
    for idx in df.index:
        if ['UNKNOWN','Chicago','Richmond','New Haven','Oakland'] in df['nbr_longlat'][idx]:
            df['nbr_longlat'][idx] = df['long_lat_rnd2'][idx]
dataset/ETHPy150Open theusual/kaggle-seeclickfix-ensemble/Bryan/features.py/nbr_longlat/swapped operands of `in`