From dd638eee0df94fa0c1f295ea2a761a7b3483d2fc Mon Sep 17 00:00:00 2001 From: "b.ghazlane" Date: Thu, 8 Apr 2021 21:38:33 +0200 Subject: [PATCH] fix: corrected question 5 ex2 --- one_md_per_day_format/piscine/Week1/day2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/one_md_per_day_format/piscine/Week1/day2.md b/one_md_per_day_format/piscine/Week1/day2.md index f3d2963..5b30dd5 100644 --- a/one_md_per_day_format/piscine/Week1/day2.md +++ b/one_md_per_day_format/piscine/Week1/day2.md @@ -137,7 +137,7 @@ The data set used is **Individual household electric power consumption** 4. `df.describe()` is expected -5. You should have noticed that 25979 rows contain missing values (for a total of 129895). `df.isna().sum()` allows to check the number of missing values and `df.dropna()` with `inplace=True`. The solution is accepted if you used `dropna` and have the number of missing values as 0. +5. You should have noticed that 25979 rows contain missing values (for a total of 129895). `df.isna().sum()` allows to check the number of missing values and `df.dropna()` with `inplace=True` allows to remove the rows with missing values. The solution is accepted if you used `dropna` and have the number of missing values as 0. 6. Two solutions are accepted: - `df.loc[:,'A'] = (df['A'] + 1) * 0.06`