skiprows in read_csv not working? · Issue #505 · pandas-dev/pandas (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@solomon-negusse

Description

@solomon-negusse

Hi Wes,
I'm trying to read in a csv file with few header lines at the beginning of the file starting w/ a '#'. I tried to use skiprows specifying a list of the first n rows to skip as [0,1,2,3,..,n] but I keep getting Index has duplicates ['#'] error. Is this a bug or I'm doing something wrong? Also, will this be the best place to post such issues?
I'm using pandas v 0.6.0 with python 2.7.2
Thanks for the great work you are doing w/ pandas. I'm finding it very useful and saves me a lot of time analyzing time series data.

-Solomon