modification du code pour la lecture d'un fichier local

parent 084a4ae6
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"data_url = \"http://www.sentiweb.fr/datasets/incidence-PAY-3.csv\"" "data_path = \"Téléchargements/incidence-PAY-3.csv\""
] ]
}, },
{ {
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"raw_data = pd.read_csv(data_url, skiprows=1)\n", "raw_data = pd.read_csv(data_path, skiprows=1)\n",
"raw_data" "raw_data"
] ]
}, },
...@@ -364,7 +364,7 @@ ...@@ -364,7 +364,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.6.1" "version": "3.6.4"
} }
}, },
"nbformat": 4, "nbformat": 4,
......
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