ré-écriture du fichier csv

parent 06fe439f
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 6,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -59,15 +59,15 @@ ...@@ -59,15 +59,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 10,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"raw_data = pd.read_csv(data_url, skiprows=1)\n", "raw_data = pd.read_csv(data_url, skiprows=1)\n",
"raw_data\n", "#raw_data\n",
"import csv\n", "raw_data.to_csv('incidence-PAY-3.csv')\n",
"with open('incidence-PAY-3.csv', 'w') as file:\n", "#with open('incidence-PAY-3.csv', 'w') as file:\n",
" csv.writer(file)" "# csv.writer(file)"
] ]
}, },
{ {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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