# Exporting the clean DataFrame to a new CSV file # We use index=True to keep our primary key (employee_id) in the exported file df.to_csv('cleaned_employee_data.csv', index=True)