title: Pandas checking if a column contains a 0 and another is not null
body: <p>I have a data set I am reading with csv file and I want to grab the row number/index where an if statement is true.</p>
  
  <p>So if the column row value is 0 and another column value in the same row is not null.</p>
  
  <p>Right now my loop is showing that all rows in my data set have a 0 and not null which is wrong, so its not working.</p>
  
  <p>What am I doing wrong?</p>
  
  <pre><code>counter = 0
  
  for index, row in raw_csv_data.iterrows():
      if(row['column1'] == 0 and row['column3'] != np.nan):
          print(row['column1'], row['column3'])
  </code></pre>
  
  <p>Solution fixed part of if statement</p>
  
  <pre><code>row.isna()['column3'] == False
  </code></pre>