title: How to check Pandas Dataframe for True or False - Python
body: <p>How can I check each pandas row in my dataframe to see if the row is True or False?  Here I want to print, 'Yes' if df['check'] is True.</p>
  
  <pre><code>import pandas as pd
  import numpy as np
  
  num = [10,20,30,40,30,20,30,40,50,60,70,80,90]
  ind = [0,1,2,3,4,5,6,7,8,9,10,11,12]
  
  df = pd.DataFrame({'Price': num}, index = ind)
  
  df['check'] = (df['Price'] &gt; 30)
  
  if df['check'] == True:
    print('Yes')
  </code></pre>