Modification réelle

parent efd48287
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 1,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
"'https://app-learninglab.inria.fr/moocrr/gitlab/8d8f65243a3005308e219351e328782f/mooc-rr/raw/master/module3/exo1/incidence-PAY-3.csv?inline=false'" "'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": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -47,6 +47,20 @@ ...@@ -47,6 +47,20 @@
"data_url" "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", "cell_type": "markdown",
"metadata": {}, "metadata": {},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment