Hi all I am trying to add a column in my DF based on the value of another column.
df[\'new_col\'] = np.where(If df.col in [3, 4, 5] then 1