Question

In Pandas / Python, how to remove the index column when saving a DataFrame into a .csv file?


Annonce
Ad

Answer

df.to_csv('filename.csv', index=False)


[source]
# ID Query