Modifications mineures.

parent 1a76f325
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 14,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 15,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -38,14 +38,15 @@ ...@@ -38,14 +38,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 18,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"Fichier trouvé\n" "Fichier non trouvé\n",
"Téléchargement du fichier sur le site Web\n"
] ]
} }
], ],
...@@ -57,7 +58,7 @@ ...@@ -57,7 +58,7 @@
"if os.path.isfile('incidence-PAY-3.csv'):\n", "if os.path.isfile('incidence-PAY-3.csv'):\n",
" print(\"Fichier trouvé\")\n", " print(\"Fichier trouvé\")\n",
" raw_data = pd.read_csv('incidence-PAY-3.csv', skiprows=1)\n", " raw_data = pd.read_csv('incidence-PAY-3.csv', skiprows=1)\n",
" # Ecrituredu fichier en local\n", " # Ecriture du fichier en local\n",
" raw_data.to_csv('incidence-PAY-3.csv')\n", " raw_data.to_csv('incidence-PAY-3.csv')\n",
"else:\n", "else:\n",
" print(\"Fichier non trouvé\")\n", " print(\"Fichier non trouvé\")\n",
...@@ -65,6 +66,15 @@ ...@@ -65,6 +66,15 @@
" raw_data = pd.read_csv(data_url, skiprows=1)" " raw_data = pd.read_csv(data_url, skiprows=1)"
] ]
}, },
{
"cell_type": "code",
"execution_count": 20,
"metadata": {},
"outputs": [],
"source": [
"raw_data.to_csv('incidence-PAY-3.csv')"
]
},
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
...@@ -89,7 +99,7 @@ ...@@ -89,7 +99,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 17,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -1054,7 +1064,7 @@ ...@@ -1054,7 +1064,7 @@
"[1850 rows x 10 columns]" "[1850 rows x 10 columns]"
] ]
}, },
"execution_count": 6, "execution_count": 17,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
......
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