version avec data stokees en local

parent 4a6d55cd
......@@ -1031,13 +1031,13 @@
],
"source": [
"data_url = \"https://www.sentiweb.fr/datasets/incidence-PAY-3.csv\"\n",
"fileName = \"syndrome-grippal.csv\"\n",
"data_file = \"syndrome-grippal.csv\"\n",
"\n",
"os.path.isfile(fileName)\n",
"if os.path.isfile(fileName) == 0:\n",
" urllib.request.urlretrieve(data_url, fileName)\n",
"os.path.isfile(data_file)\n",
"if os.path.isfile(data_file) == 0:\n",
" urllib.request.urlretrieve(data_url, data_file)\n",
"\n",
"raw_data = pd.read_csv(fileName, skiprows=1)\n",
"raw_data = pd.read_csv(data_file, skiprows=1)\n",
"raw_data"
]
},
......@@ -2214,7 +2214,7 @@
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f7963958320>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7fdcd58c7160>"
]
},
"execution_count": 8,
......@@ -2253,7 +2253,7 @@
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f796181fdd8>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7fdcd341eb70>"
]
},
"execution_count": 9,
......@@ -2357,7 +2357,7 @@
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f7961742898>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7fdcd334c320>"
]
},
"execution_count": 12,
......@@ -2458,7 +2458,7 @@
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f79616a4470>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7fdcd332a048>"
]
},
"execution_count": 14,
......
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