Pandas file structure not supported error
Question: I get a `NotImplementedError: file structure not yet supported`when I run the
code below on this
[file](https://www.dropbox.com/s/nh117yurq6rk2g7/300113R1.DNC?dl=0)

    
    
    import constants, pandas, pdb
    from datetime import datetime, timedelta
    
    df = pandas.read_csv('300113R1.DNC', skiprows = 11, delim_whitespace=True,usecols=['Y','M','D','PRCP'],
                         parse_dates={"datetime": [0,1,2]}, index_col="datetime",
                        date_parser=lambda x: pandas.datetime.strptime(x, '%Y %m %d'))
    

Any idea on what might be going wrong? Related query on a smaller sample of
this same dataset is here: [Date parse error in Python pandas while reading
file](http://stackoverflow.com/questions/29805372/date-parse-error-in-python-
pandas-while-reading-file?noredirect=1#comment47739746_29805372)


Answer: Thanks to @cosmoscalibur for spotting that your file is missing columns, one
solution is to skip parsing the header:

    
    
    df = pandas.read_csv('300113R1.DNC', skiprows = 12, delim_whitespace=True,usecols=[0,1,2,3], header=None
                         parse_dates={"datetime": [0,1,2]}, index_col="datetime",
                        date_parser=lambda x: pandas.datetime.strptime(x, '%Y %m %d'))
    

this will require you to rename the single column from '3' to 'PRCP' after
loading:

    
    
    df = df.rename(columns={3:'PRCP'})
    

