Use index=False.
index=False
df.to_csv('your.csv', index=False)
Last updated 3 years ago
Was this helpful?