Python Pandas read_csv issue
Question: I have simple CSV file that looks like this:

    
    
    inches,12,3,56,80,45
    tempF,60,45,32,80,52
    

I read in the CSV using this command:

    
    
    import pandas as pd
    pd_obj = pd.read_csv('test_csv.csv', header=None, index_col=0)
    

Which results in this structure:

    
    
             1   2   3   4   5
    0
    inches  12   3  56  80  45
    tempF   60  45  32  80  52
    

But I want this (unnamed index column):

    
    
             0   1   2   3   4
    inches  12   3  56  80  45
    tempF   60  45  32  80  52
    

**EDIT:** As @joris pointed out additional methods can be run on the resulting
DataFrame to achieve the wanted structure. My question is specifically about
whether or not this structure could be achieved through `read_csv` arguments.


Answer: from the documentation of the function:

    
    
    names : array-like
    List of column names to use. If file contains no header row, then you
    should explicitly pass header=None
    

so, apparently:

    
    
    pd_obj = pd.read_csv('test_csv.csv', header=None, index_col=0, names=range(5))
    

