title: How to iterate through every row/column of df to see whether 0 or ' ' present?
body: <p>I have a main <code>df</code> and I want to iterate through every row and column, checking for 0's and <code>''</code>.  I need to output the row where this appears. The trouble is that one is <code>int</code> and the other is <code>str</code>. So I've made subsets call <code>cols</code> and <code>df_string</code>, for all <code>int</code> columns and <code>str</code> respectively. </p>
  
  <p>Can I check the whole <code>df</code> at once for <code>str</code> and <code>int</code> at the same time or do I need to do this separately?</p>
  
  <p>This is my code:</p>
  
  <pre><code>cols = ['ID', 'Line Manager Id', 'Project ID']
  df_strings = ['Email', 'Name', 'Department']
  i = 0
  k = 0
  for i, j in df.iterrows():
      if df[cols[i]][j] == 0:
          print(i)
          print('incomplete')
      if df[df_strings[i]][j] == '':
          print(i)
          print('incomplete')
  </code></pre>
  
  <blockquote>
    <p>ValueError: The truth value of a Series is ambiguous. Use a.empty,
    a.bool(), a.item(), a.any() or a.all().</p>
  </blockquote>