import pandas as pd df = pd.read_csv('Prelevements.csv', delimiter = ';' ,usecols = ['identifiant','nom_etablissement','annee', 'prelevements_eaux_souterraines','prelevements_eaux_surface','prelevements_reseau_distribution','prelevements_mer' ]) print(df) df.to_csv(r'C:\Users\totob\Desktop\Cours PSB\BDD SCRUM\UTF8\CSV finaux\prelevements.csv', index=False, sep=';')