The Pandas Index Export Trap

Active DataFrame in Memory
CityPopulation
0Zurich415000
1Geneva201000
Saved CSV File (Raw Text)
Select an export option above...
Reloaded: pd.read_csv("file.csv")
Waiting for file...
By default, Pandas saves the row numbers (the Index) directly into the text file. Click the red button to see the trap!