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)