Say I import the following Excel spreadsheet into a dataframe:
Val1 Val2 Val3
1 2 3
5 6 7
9 1 2
How do I delete the column name row (in this case Val1, Val2, Val3
) so that I can export a csv with no column names, just the data?
I have tried df.drop()
and df.ix[1:]
and have not been successful with either.
to_csv()
have an optionheader
to control it, e.g.header = None