Sorry, I agree that was really poorly written:
Take 2: I have many columns of data (up to 63) in over 50 datasets. I am extracting only 3 columns of data that I need and writing it into a new .csv file. There are a few of my datasets that do not have the third desired column of data. But that's okay I can leave it blank (or insert another value like "-" or whatever). I don't want to open all my files to figure out which files have what. The error message I get when I try to extract data from a non-existent column is:
IndexError: list index out of range
Is there a loop that I can write to fix this? I'm really new to python, and in my head it seems easy but when I try to actually do it it's very difficult.
Thanks