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
e6a97489a0ddc22e539fb6d21b5fa03d
mooc-rr
Commits
84098cd6
Commit
84098cd6
authored
Oct 06, 2023
by
e6a97489a0ddc22e539fb6d21b5fa03d
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no commit message
parent
6998d36a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
analyse-syndrome-grippal.ipynb
module3/exo1/analyse-syndrome-grippal.ipynb
+6
-6
No files found.
module3/exo1/analyse-syndrome-grippal.ipynb
View file @
84098cd6
...
@@ -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_url
, skiprows=1)\n",
"raw_data"
"raw_data"
]
]
},
},
...
@@ -184,7 +184,7 @@
...
@@ -184,7 +184,7 @@
"outputs": [],
"outputs": [],
"source": [
"source": [
"periods = sorted_data.index\n",
"periods = sorted_data.index\n",
"for p1, p2 in zip(periods[:-1], periods[1:]):\n",
"for p1, p2 in zip(periods[:-1]
, periods[1:]):\n",
" delta = p2.to_timestamp() - p1.end_time\n",
" delta = p2.to_timestamp() - p1.end_time\n",
" if delta > pd.Timedelta('1s'):\n",
" if delta > pd.Timedelta('1s'):\n",
" print(p1, p2)"
" print(p1, p2)"
...
@@ -335,7 +335,7 @@
...
@@ -335,7 +335,7 @@
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
"yearly_incidence.hist(xrot=20)"
"yearly_incidence.hist(xrot=20
)"
]
]
},
},
{
{
...
@@ -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,
...
...
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