dataframe to csv without index no column code example
Example 1: dataframe to csv without ids
df.to_csv('your.csv', index=False)
Example 2: pandas save without index
#Save to csv without index:
df.to_csv('name.csv', index=False)
df.to_csv('your.csv', index=False)
#Save to csv without index:
df.to_csv('name.csv', index=False)