I have a Pandas dataframe called 'df' that looks like this
Col1   TF      
1      False
2      True
2      False
2      False
2      False
3      False
4      False
And I would like for every row in to have a 'TF' value of True if Col1 = 2. The desired output for df is
Col1   TF      
1      False
2      True
2      True
2      True
2      True
3      False
4      False
I haven't found a method that works for me yet
 
     
    