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
c05772ca30517e8b4095505e7bf0de0b
mooc-rr
Commits
7a7f3e95
Commit
7a7f3e95
authored
Oct 10, 2023
by
c05772ca30517e8b4095505e7bf0de0b
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Analyse de l'incidence du syndrôme grippal avec une copie locale des données
parent
c6c7b9cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
analyse-syndrome-grippal.ipynb
module3/exo1/analyse-syndrome-grippal.ipynb
+14
-12
No files found.
module3/exo1/analyse-syndrome-grippal.ipynb
View file @
7a7f3e95
...
@@ -2185,10 +2185,12 @@
...
@@ -2185,10 +2185,12 @@
}
}
],
],
"source": [
"source": [
"# verifier si la différence temporelle est supérieure à 1 seconde\n",
"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",
"# afficher les paires de périodes consécutives qui ont une difference temporelle\n",
" print(p1, p2)"
" print(p1, p2)"
]
]
},
},
...
@@ -2201,7 +2203,7 @@
...
@@ -2201,7 +2203,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
10
,
"execution_count":
9
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -2226,16 +2228,16 @@
...
@@ -2226,16 +2228,16 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count": 1
1
,
"execution_count": 1
0
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
"data": {
"data": {
"text/plain": [
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
dceab16860
>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
c9e29c0588
>"
]
]
},
},
"execution_count": 1
1
,
"execution_count": 1
0
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
},
},
...
@@ -2286,7 +2288,7 @@
...
@@ -2286,7 +2288,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count": 1
2
,
"execution_count": 1
1
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
...
@@ -2306,7 +2308,7 @@
...
@@ -2306,7 +2308,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count": 1
3
,
"execution_count": 1
2
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
...
@@ -2330,16 +2332,16 @@
...
@@ -2330,16 +2332,16 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count": 1
4
,
"execution_count": 1
3
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
"data": {
"data": {
"text/plain": [
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
dce897a208
>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
ca186830f0
>"
]
]
},
},
"execution_count": 1
4
,
"execution_count": 1
3
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
},
},
...
@@ -2434,16 +2436,16 @@
...
@@ -2434,16 +2436,16 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count": 1
6
,
"execution_count": 1
4
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
"data": {
"data": {
"text/plain": [
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
dce8948dd8
>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
c9e0880940
>"
]
]
},
},
"execution_count": 1
6
,
"execution_count": 1
4
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
},
},
...
...
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