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
1071ae964b205fc96951cf272887f050
mooc-rr
Commits
adc25c52
Commit
adc25c52
authored
Jun 22, 2025
by
1071ae964b205fc96951cf272887f050
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
task finished. a small update
parent
3c23cde2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
28 deletions
+35
-28
exercice.ipynb
module3/exo2/exercice.ipynb
+35
-28
No files found.
module3/exo2/exercice.ipynb
View file @
adc25c52
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
8
,
"execution_count":
25
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
9
,
"execution_count":
26
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
10
,
"execution_count":
27
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -1009,7 +1009,7 @@
...
@@ -1009,7 +1009,7 @@
"[1802 rows x 10 columns]"
"[1802 rows x 10 columns]"
]
]
},
},
"execution_count":
10
,
"execution_count":
27
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -1028,7 +1028,7 @@
...
@@ -1028,7 +1028,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
11
,
"execution_count":
28
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -1075,7 +1075,7 @@
...
@@ -1075,7 +1075,7 @@
"Index: []"
"Index: []"
]
]
},
},
"execution_count":
11
,
"execution_count":
28
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -1100,7 +1100,7 @@
...
@@ -1100,7 +1100,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
12
,
"execution_count":
29
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -2127,7 +2127,7 @@
...
@@ -2127,7 +2127,7 @@
"[1802 rows x 11 columns]"
"[1802 rows x 11 columns]"
]
]
},
},
"execution_count":
12
,
"execution_count":
29
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -2153,7 +2153,7 @@
...
@@ -2153,7 +2153,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
14
,
"execution_count":
30
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -3133,7 +3133,7 @@
...
@@ -3133,7 +3133,7 @@
"[1802 rows x 10 columns]"
"[1802 rows x 10 columns]"
]
]
},
},
"execution_count":
14
,
"execution_count":
30
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -3152,7 +3152,7 @@
...
@@ -3152,7 +3152,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
16
,
"execution_count":
31
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
...
@@ -3181,16 +3181,16 @@
...
@@ -3181,16 +3181,16 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
17
,
"execution_count":
32
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
"data": {
"data": {
"text/plain": [
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f922
c0ca780
>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f922
9cf9cf8
>"
]
]
},
},
"execution_count":
17
,
"execution_count":
32
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
},
},
...
@@ -3220,16 +3220,16 @@
...
@@ -3220,16 +3220,16 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
18
,
"execution_count":
33
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
"data": {
"data": {
"text/plain": [
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f9229
f166a
0>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f9229
c27c5
0>"
]
]
},
},
"execution_count":
18
,
"execution_count":
33
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
},
},
...
@@ -3266,7 +3266,7 @@
...
@@ -3266,7 +3266,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
20
,
"execution_count":
34
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -3308,7 +3308,7 @@
...
@@ -3308,7 +3308,7 @@
" Period('2024-08-26/2024-09-01', 'W-SUN')]"
" Period('2024-08-26/2024-09-01', 'W-SUN')]"
]
]
},
},
"execution_count":
20
,
"execution_count":
34
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -3329,7 +3329,7 @@
...
@@ -3329,7 +3329,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
21
,
"execution_count":
35
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
...
@@ -3353,16 +3353,16 @@
...
@@ -3353,16 +3353,16 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
22
,
"execution_count":
36
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
"data": {
"data": {
"text/plain": [
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f922
ce6d7b
8>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f922
9bbb27
8>"
]
]
},
},
"execution_count":
22
,
"execution_count":
36
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
},
},
...
@@ -3392,7 +3392,7 @@
...
@@ -3392,7 +3392,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
23
,
"execution_count":
37
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -3434,7 +3434,7 @@
...
@@ -3434,7 +3434,7 @@
"dtype: int64"
"dtype: int64"
]
]
},
},
"execution_count":
23
,
"execution_count":
37
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -3443,6 +3443,13 @@
...
@@ -3443,6 +3443,13 @@
"yearly_incidence.sort_values()"
"yearly_incidence.sort_values()"
]
]
},
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Find the year with the strongest epidemic and the year with the weakest epidemic from the above data."
]
},
{
{
"cell_type": "markdown",
"cell_type": "markdown",
"metadata": {},
"metadata": {},
...
@@ -3452,16 +3459,16 @@
...
@@ -3452,16 +3459,16 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
24
,
"execution_count":
38
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
"data": {
"data": {
"text/plain": [
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f9229
f4e860
>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f9229
b22e48
>"
]
]
},
},
"execution_count":
24
,
"execution_count":
38
,
"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