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
dc97a6904245e0d07c1302ee90fceec3
mooc-rr
Commits
1faef3e4
Commit
1faef3e4
authored
Jun 23, 2025
by
dc97a6904245e0d07c1302ee90fceec3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no commit message
parent
407ccb7d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
influenza-like-illness-analysis.ipynb
module3/exo1/influenza-like-illness-analysis.ipynb
+20
-3
No files found.
module3/exo1/influenza-like-illness-analysis.ipynb
View file @
1faef3e4
...
@@ -67,7 +67,21 @@
...
@@ -67,7 +67,21 @@
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
"raw_data = pd.read_csv(data_url, skiprows=1)\n",
"data_file = \"syndrome-grippal.csv\"\n",
"\n",
"import os\n",
"import urllib.request\n",
"if not os.path.exists(data_file):\n",
" urllib.request.urlretrieve(data_url, data_file)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"raw_data = pd.read_csv(data_file, skiprows=1)\n",
"raw_data"
"raw_data"
]
]
},
},
...
@@ -346,7 +360,10 @@
...
@@ -346,7 +360,10 @@
"collapsed": true
"collapsed": true
},
},
"outputs": [],
"outputs": [],
"source": []
"source": [
"sorted_data['inc'] = pd.to_numeric(sorted_data['inc'], errors='coerce')\n",
"sorted_data['inc'].plot()"
]
}
}
],
],
"metadata": {
"metadata": {
...
@@ -365,7 +382,7 @@
...
@@ -365,7 +382,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,
...
...
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