I try to make a function to detect if a column has certain value but it returns ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). and 
Even if i check this it returns false, 'yes' in peep['anxiety'] Out[58]: False i thought it checks if there's value 'yes' in the column
if (peep['anxiety']=='yes'):
    print('correct')
else :
    print('incorrect')
 
     
    