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
2207ee6c4b0763c29ab8f98156e3343c
mooc-rr
Commits
fb249085
Commit
fb249085
authored
Aug 11, 2021
by
2207ee6c4b0763c29ab8f98156e3343c
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ligne intuile enlevée
parent
1b90b9a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
54 deletions
+45
-54
exercice.ipynb
module3/exo3/exercice.ipynb
+45
-54
No files found.
module3/exo3/exercice.ipynb
View file @
fb249085
...
...
@@ -25,7 +25,7 @@
},
{
"cell_type": "code",
"execution_count":
17
,
"execution_count":
2
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -43,7 +43,7 @@
},
{
"cell_type": "code",
"execution_count": 3
1
,
"execution_count": 3,
"metadata": {},
"outputs": [
{
...
...
@@ -241,7 +241,7 @@
"[5 rows x 571 columns]"
]
},
"execution_count": 3
1
,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -253,7 +253,7 @@
},
{
"cell_type": "code",
"execution_count":
32
,
"execution_count":
4
,
"metadata": {},
"outputs": [
{
...
...
@@ -451,7 +451,7 @@
"[5 rows x 571 columns]"
]
},
"execution_count":
32
,
"execution_count":
4
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -469,7 +469,7 @@
},
{
"cell_type": "code",
"execution_count":
20
,
"execution_count":
5
,
"metadata": {},
"outputs": [
{
...
...
@@ -559,7 +559,7 @@
"[1 rows x 571 columns]"
]
},
"execution_count":
20
,
"execution_count":
5
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -570,7 +570,7 @@
},
{
"cell_type": "code",
"execution_count":
21
,
"execution_count":
6
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -579,16 +579,7 @@
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {},
"outputs": [],
"source": [
"data.at[\"Country/Region\",\"70\"] = \"Hong Kong\""
]
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -597,7 +588,7 @@
},
{
"cell_type": "code",
"execution_count":
24
,
"execution_count":
8
,
"metadata": {},
"outputs": [
{
...
...
@@ -632,6 +623,7 @@
" <th>1/26/20</th>\n",
" <th>1/27/20</th>\n",
" <th>...</th>\n",
" <th>8/1/21</th>\n",
" <th>8/2/21</th>\n",
" <th>8/3/21</th>\n",
" <th>8/4/21</th>\n",
...
...
@@ -641,7 +633,6 @@
" <th>8/8/21</th>\n",
" <th>8/9/21</th>\n",
" <th>8/10/21</th>\n",
" <th>70</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
...
...
@@ -651,43 +642,43 @@
" <td>Hong Kong</td>\n",
" <td>22.3</td>\n",
" <td>114.2</td>\n",
" <td>0
.0
</td>\n",
" <td>2
.0
</td>\n",
" <td>2
.0
</td>\n",
" <td>5
.0
</td>\n",
" <td>8
.0
</td>\n",
" <td>8
.0
</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>5</td>\n",
" <td>8</td>\n",
" <td>8</td>\n",
" <td>...</td>\n",
" <td>119
90.0
</td>\n",
" <td>1199
4.
0</td>\n",
" <td>1199
6.0
</td>\n",
" <td>1
2002.0
</td>\n",
" <td>1200
4.0
</td>\n",
" <td>120
11.0
</td>\n",
" <td>1201
3.0
</td>\n",
" <td>1201
5.0
</td>\n",
" <td>1201
9.0
</td>\n",
" <td>
NaN
</td>\n",
" <td>119
87
</td>\n",
" <td>11990</td>\n",
" <td>1199
4
</td>\n",
" <td>1
1996
</td>\n",
" <td>1200
2
</td>\n",
" <td>120
04
</td>\n",
" <td>1201
1
</td>\n",
" <td>1201
3
</td>\n",
" <td>1201
5
</td>\n",
" <td>
12019
</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>1 rows × 57
2
columns</p>\n",
"<p>1 rows × 57
1
columns</p>\n",
"</div>"
],
"text/plain": [
" Province/State Country/Region Lat Long 1/22/20 1/23/20 1/24/20 \\\n",
"70 Hong Kong Hong Kong 22.3 114.2
0.0 2.0 2.0
\n",
"70 Hong Kong Hong Kong 22.3 114.2
0 2 2
\n",
"\n",
" 1/25/20 1/26/20 1/27/20
... 8/2/21 8/3/21 8/4/21 8/5
/21 \\\n",
"70
5.0 8.0 8.0 ... 11990.0 11994.0 11996.0 12002.0
\n",
" 1/25/20 1/26/20 1/27/20
... 8/1/21 8/2/21 8/3/21 8/4
/21 \\\n",
"70
5 8 8 ... 11987 11990 11994 11996
\n",
"\n",
"
8/6/21 8/7/21 8/8/21 8/9/21 8/10/21 70
\n",
"70
12004.0 12011.0 12013.0 12015.0 12019.0 NaN
\n",
"
8/5/21 8/6/21 8/7/21 8/8/21 8/9/21 8/10/21
\n",
"70
12002 12004 12011 12013 12015 12019
\n",
"\n",
"[1 rows x 57
2
columns]"
"[1 rows x 57
1
columns]"
]
},
"execution_count":
24
,
"execution_count":
8
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -705,7 +696,7 @@
},
{
"cell_type": "code",
"execution_count":
25
,
"execution_count":
9
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -715,7 +706,7 @@
},
{
"cell_type": "code",
"execution_count":
26
,
"execution_count":
10
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -729,7 +720,7 @@
},
{
"cell_type": "code",
"execution_count":
27
,
"execution_count":
11
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -745,7 +736,7 @@
},
{
"cell_type": "code",
"execution_count":
28
,
"execution_count":
12
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -757,16 +748,16 @@
},
{
"cell_type": "code",
"execution_count":
29
,
"execution_count":
13
,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
ee4693cc88
>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
5d1ddbba90
>"
]
},
"execution_count":
29
,
"execution_count":
13
,
"metadata": {},
"output_type": "execute_result"
},
...
...
@@ -789,16 +780,16 @@
},
{
"cell_type": "code",
"execution_count":
30
,
"execution_count":
14
,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
ee4681e240
>"
"<matplotlib.axes._subplots.AxesSubplot at 0x7f
5d1b9e6208
>"
]
},
"execution_count":
30
,
"execution_count":
14
,
"metadata": {},
"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