to_csv without index column pandas code example
Example 1: save dataframe to csv without index
df.to_csv(f"{filename}", index=False)
Example 2: to_csv without index
df.to_csv('your.csv', index=False)
df.to_csv(f"{filename}", index=False)
df.to_csv('your.csv', index=False)