title: Python: How to check if cell in CSV file is empty?
body: <p>I have a CSV file that I'm reading in Python and I want the program to skip over the row if the first column is empty. How do I do this?</p>
  
  <p>Right now I have:</p>
  
  <pre><code>with open('testdata1.csv', 'rU') as csvfile:
          csvreader = csv.reader(csvfile)
          for row in csvreader:
              if row[0] = null:
                  #?????
  </code></pre>
  
  <p>How do I: 1) Check for empty cells in the CSV; and 2) tell the reader to skip the row? </p>
  
  <p>Thanks guys.</p>