From e1e18f2a3cad47b9e9c1199f36dfdc80bb9f1a3e Mon Sep 17 00:00:00 2001 From: simplg <81249731+simplg@users.noreply.github.com> Date: Mon, 19 Jul 2021 14:50:54 +0200 Subject: [PATCH] Add missing comma Add the missing comma and fix #208 --- 4-Classification/1-Introduction/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4-Classification/1-Introduction/README.md b/4-Classification/1-Introduction/README.md index 4490131c..09a35154 100644 --- a/4-Classification/1-Introduction/README.md +++ b/4-Classification/1-Introduction/README.md @@ -163,7 +163,7 @@ Now you can dig deeper into the data and learn what are the typical ingredients def create_ingredient_df(df): ingredient_df = df.T.drop(['cuisine','Unnamed: 0']).sum(axis=1).to_frame('value') ingredient_df = ingredient_df[(ingredient_df.T != 0).any()] - ingredient_df = ingredient_df.sort_values(by='value', ascending=False + ingredient_df = ingredient_df.sort_values(by='value', ascending=False, inplace=False) return ingredient_df ```