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?
Right now I have:
You could use try and except.
for row in csvreader: try: #your code for cells which aren't empty except: #your code for empty cells