From 6d037e2d2f2fff698456de30663d182c25864cc4 Mon Sep 17 00:00:00 2001 From: 8d8f65243a3005308e219351e328782f <8d8f65243a3005308e219351e328782f@app-learninglab.inria.fr> Date: Thu, 16 Apr 2020 12:16:43 +0000 Subject: [PATCH] =?UTF-8?q?Modification=20r=C3=A9elle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module3/exo1/analyse-syndrome-grippal.ipynb | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/module3/exo1/analyse-syndrome-grippal.ipynb b/module3/exo1/analyse-syndrome-grippal.ipynb index c11cb74..84dc5a9 100644 --- a/module3/exo1/analyse-syndrome-grippal.ipynb +++ b/module3/exo1/analyse-syndrome-grippal.ipynb @@ -28,7 +28,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 1, "metadata": {}, "outputs": [ { @@ -37,7 +37,7 @@ "'https://app-learninglab.inria.fr/moocrr/gitlab/8d8f65243a3005308e219351e328782f/mooc-rr/raw/master/module3/exo1/incidence-PAY-3.csv?inline=false'" ] }, - "execution_count": 2, + "execution_count": 1, "metadata": {}, "output_type": "execute_result" } @@ -47,6 +47,20 @@ "data_url" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "data_file = \"incidence-PAY-3.csv\"\n", + "\n", + "import os\n", + "import urllib.request\n", + "if not os.path.exists(data_file):\n", + " urllib.request.urlretrieve(data_url, data_file)" + ] + }, { "cell_type": "markdown", "metadata": {}, -- 2.18.1