From e457b3e6d13538b914cb208033a7f288575955cd Mon Sep 17 00:00:00 2001 From: de98852947736bd9e2f70971a6ed56d0 Date: Mon, 25 May 2020 14:35:22 +0000 Subject: [PATCH] Gestion fichier local - correction erreur fonction os.path --- module3/exo1/analyse-syndrome-grippal.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module3/exo1/analyse-syndrome-grippal.ipynb b/module3/exo1/analyse-syndrome-grippal.ipynb index c3461b7..14d057d 100644 --- a/module3/exo1/analyse-syndrome-grippal.ipynb +++ b/module3/exo1/analyse-syndrome-grippal.ipynb @@ -75,7 +75,7 @@ "import os.path\n", "data_file = \"inciden-PAY-3.csv\"\n", "folder_path = \"myLocalisation/\"\n", - "if not (os.path(folder_path + data_file)) : \n", + "if not (os.path.exists(folder_path + data_file)) : \n", " df = pd.read_csv(data_url)\n", " df.to_csv(folder_path + data_file, sep = '\\t')" ] -- 2.18.1