Home > Net >  Hi, how do you remove the index rows, (not column) in python pandas
Hi, how do you remove the index rows, (not column) in python pandas

Time:10-03

i tried using data_last.to_csv (r'D:\Matkelp3.csv',index=False)

but I still get the index row in the first line

any help will be much appreciated

CodePudding user response:

You have to also specify header=False:

data_last.to_csv(r'D:\Matkelp3.csv', index=False, header=False)
  • Related