remove index from dataframe python tocsv code example Example: dataframe to csv without ids df.to_csv('your.csv', index=False)