Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
47d07510df84c8e10a21889149b23ec9
mooc-rr
Commits
922b45fc
Commit
922b45fc
authored
Jun 01, 2021
by
47d07510df84c8e10a21889149b23ec9
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correction du code pour la sauvegarde
parent
e2200c5c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1914 additions
and
5 deletions
+1914
-5
DonneesMOOC.csv
module3/exo1/DonneesMOOC.csv
+1909
-0
analyse-syndrome-grippal.ipynb
module3/exo1/analyse-syndrome-grippal.ipynb
+5
-5
No files found.
module3/exo1/DonneesMOOC.csv
0 → 100644
View file @
922b45fc
This source diff could not be displayed because it is too large. You can
view the blob
instead.
module3/exo1/analyse-syndrome-grippal.ipynb
View file @
922b45fc
...
...
@@ -60,7 +60,7 @@
},
{
"cell_type": "code",
"execution_count": 1
2
,
"execution_count": 1
4
,
"metadata": {},
"outputs": [
{
...
...
@@ -1025,7 +1025,7 @@
"[1908 rows x 10 columns]"
]
},
"execution_count": 1
2
,
"execution_count": 1
4
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -1036,9 +1036,9 @@
"if pth.isfile(file_path)==0:\n",
" raw_data = pd.read_csv(data_url, skiprows=1)\n",
" df=pd.DataFrame(raw_data,columns=['week','indicator','inc','inc_low','inc_up','inc100','inc100_low','inc100_up','geo_insee','geo_name'])\n",
" df.to_csv(
'r'+
file_path,index=False)\n",
"
else:
\n",
"
raw_data = pd.read_csv(file_path)\n",
" df.to_csv(file_path,index=False)\n",
"\n",
"raw_data = pd.read_csv(file_path)\n",
"\n",
"raw_data"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment