df <- read.csv("C:/Users/trabi/OneDrive/Bureau/Nouveau dossier (2)/Health_Insurance.csv", sep=",",dec=".")
head(df) age sex bmi smoker region children charges
1 21.00000 male 25.74500 no northeast 2 3279.869
2 36.97698 female 25.74416 yes southeast 3 21454.494
3 18.00000 male 30.03000 no southeast 1 1720.354
4 37.00000 male 30.67689 no northeast 3 6801.438
5 58.00000 male 32.01000 no southeast 1 11946.626
6 46.00000 male 26.62000 no southeast 1 7742.110