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
28a29c1c
Commit
28a29c1c
authored
Jun 23, 2025
by
dc97a6904245e0d07c1302ee90fceec3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no commit message
parent
1faef3e4
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2148 additions
and
34 deletions
+2148
-34
incidence-PAY-3.csv
module3/exo1/incidence-PAY-3.csv
+2122
-0
influenza-like-illness-analysis.ipynb
module3/exo1/influenza-like-illness-analysis.ipynb
+26
-34
No files found.
module3/exo1/incidence-PAY-3.csv
0 → 100644
View file @
28a29c1c
This diff is collapsed.
Click to expand it.
module3/exo1/influenza-like-illness-analysis.ipynb
View file @
28a29c1c
...
@@ -9,10 +9,8 @@
...
@@ -9,10 +9,8 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count": null,
"execution_count": 3,
"metadata": {
"metadata": {},
"collapsed": true
},
"outputs": [],
"outputs": [],
"source": [
"source": [
"%matplotlib inline\n",
"%matplotlib inline\n",
...
@@ -30,13 +28,31 @@
...
@@ -30,13 +28,31 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count": null,
"execution_count": 4,
"metadata": {
"metadata": {},
"collapsed": true
"outputs": [
},
{
"outputs": [],
"name": "stdout",
"output_type": "stream",
"text": [
"Local data file not found. Downloading...\n",
"Download complete.\n"
]
}
],
"source": [
"source": [
"data_url = \"http://www.sentiweb.fr/datasets/incidence-PAY-3.csv\""
"import os\n",
"import urllib.request\n",
"\n",
"data_url = \"http://www.sentiweb.fr/datasets/incidence-PAY-3.csv\"\n",
"local_filename = \"incidence-PAY-3.csv\"\n",
"\n",
"if not os.path.exists(local_filename):\n",
" print(\"Local data file not found. Downloading...\")\n",
" urllib.request.urlretrieve(data_url, local_filename)\n",
" print(\"Download complete.\")\n",
"\n",
"raw_data = pd.read_csv(local_filename, skiprows=1)"
]
]
},
},
{
{
...
@@ -61,30 +77,6 @@
...
@@ -61,30 +77,6 @@
"The first line of the CSV file is a comment, which we ignore with `skip=1`."
"The first line of the CSV file is a comment, which we ignore with `skip=1`."
]
]
},
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"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"
]
},
{
{
"cell_type": "markdown",
"cell_type": "markdown",
"metadata": {},
"metadata": {},
...
...
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