correction nom_fichier + utilisation du bon chemin pour la lecture du CSV

parent db36cd04
......@@ -50,16 +50,16 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"data_local_file = \"LOCAL-incidence-PAY-3.csv\"\n",
"local_data_file = \"LOCAL-incidence-PAY-3.csv\"\n",
"\n",
"import os.path\n",
"import urllib.request\n",
"if not os.path.exists(data_file):\n",
" urllib.request.urlretrieve(data_url, data_local_file)"
"if not os.path.exists(local_data_file):\n",
" urllib.request.urlretrieve(data_url, local_data_file)"
]
},
{
......@@ -1057,7 +1057,7 @@
}
],
"source": [
"raw_data = pd.read_csv(data_url, skiprows=1)\n",
"raw_data = pd.read_csv(local_data_file, skiprows=1)\n",
"raw_data"
]
},
......@@ -2234,7 +2234,7 @@
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f0904c64d30>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f0707f5cc88>"
]
},
"execution_count": 10,
......@@ -2273,7 +2273,7 @@
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f090233e240>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f0705ac4b00>"
]
},
"execution_count": 11,
......@@ -2377,7 +2377,7 @@
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f09022cab00>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f07059f4748>"
]
},
"execution_count": 14,
......@@ -2478,7 +2478,7 @@
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f09022f8710>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f07059cbd30>"
]
},
"execution_count": 16,
......
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