In Pandas, when saving dataframe into csv file, there is always a index column showing row number, for example
how to get rid of this index? I try to use the below code and it didn't work.
df1=df.reset_index(drop=True)
Thanks for your help.
In Pandas, when saving dataframe into csv file, there is always a index column showing row number, for example
how to get rid of this index? I try to use the below code and it didn't work.
df1=df.reset_index(drop=True)
Thanks for your help.