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
264af2e9a1e4e844f861df089a5604e3
mooc-rr
Commits
e625ca5e
Commit
e625ca5e
authored
Oct 30, 2024
by
264af2e9a1e4e844f861df089a5604e3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no commit message
parent
a72944f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
435 additions
and
437 deletions
+435
-437
exerciceTabac.ipynb
module3/exo2/exerciceTabac.ipynb
+435
-437
No files found.
module3/exo2/exerciceTabac.ipynb
View file @
e625ca5e
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
2
,
"execution_count":
1
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
3
,
"execution_count":
2
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
4
,
"execution_count":
3
,
"metadata": {
"metadata": {
"scrolled": true
"scrolled": true
},
},
...
@@ -520,7 +520,7 @@
...
@@ -520,7 +520,7 @@
"[1314 rows x 3 columns]"
"[1314 rows x 3 columns]"
]
]
},
},
"execution_count":
4
,
"execution_count":
3
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -541,20 +541,20 @@
...
@@ -541,20 +541,20 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
9
,
"execution_count":
13
,
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
"#trier = raw_data.sort_values(by = [\"Smoker\"])\n",
"#trier = raw_data.sort_values(by = [\"Smoker\"])\n",
"masq = raw_data[\"Smoker\"] == \"Yes\"\n",
"masq = raw_data[\"Smoker\"] == \"Yes\"\n",
"fumeuses = raw_data.loc[masq]\n",
"fumeuses = raw_data.loc[masq]\n",
"nonFumeuses =
raw_data
.loc[raw_data[\"Smoker\"]==\"No\"]\n",
"nonFumeuses =
trier
.loc[raw_data[\"Smoker\"]==\"No\"]\n",
"\n"
"\n"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
10
,
"execution_count":
5
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -585,184 +585,184 @@
...
@@ -585,184 +585,184 @@
" </thead>\n",
" </thead>\n",
" <tbody>\n",
" <tbody>\n",
" <tr>\n",
" <tr>\n",
" <th>
0
</th>\n",
" <th>
915
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
21.0
</td>\n",
" <td>
47.4
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <th>1
095
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
19.3
</td>\n",
" <td>
30.2
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
4
</th>\n",
" <th>
941
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
81
.4</td>\n",
" <td>
30
.4</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
7
</th>\n",
" <th>
1311
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Dead</td>\n",
" <td>Dead</td>\n",
" <td>
57.5
</td>\n",
" <td>
62.1
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
8
</th>\n",
" <th>
1091
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
24.8
</td>\n",
" <td>
60.0
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>9</th>\n",
" <th>9
45
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
49.5
</td>\n",
" <td>
60.2
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1
0
</th>\n",
" <th>1
148
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
30.0
</td>\n",
" <td>
50.6
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1
2
</th>\n",
" <th>1
307
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>4
9.2
</td>\n",
" <td>4
3.0
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
19
</th>\n",
" <th>
913
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>
65.7
</td>\n",
" <td>
84.4
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
21
</th>\n",
" <th>
946
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
38.3
</td>\n",
" <td>
25.0
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
23
</th>\n",
" <th>
1276
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Dead
</td>\n",
" <td>
Alive
</td>\n",
" <td>
62.3
</td>\n",
" <td>
58.5
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
26
</th>\n",
" <th>
950
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>
59.2
</td>\n",
" <td>
43.3
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
30
</th>\n",
" <th>
1309
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>3
4.6
</td>\n",
" <td>3
5.9
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
31
</th>\n",
" <th>
947
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>
51.9
</td>\n",
" <td>
37.1
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
32
</th>\n",
" <th>
1125
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
49.9
</td>\n",
" <td>
57.2
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
35
</th>\n",
" <th>
948
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>4
6
.7</td>\n",
" <td>4
7
.7</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
36
</th>\n",
" <th>
1093
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>
44.4
</td>\n",
" <td>
84.3
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
37
</th>\n",
" <th>
911
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
29.5
</td>\n",
" <td>
38.6
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
38
</th>\n",
" <th>
1273
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Dead
</td>\n",
" <td>
Alive
</td>\n",
" <td>
33.0
</td>\n",
" <td>
55.7
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
3
9</th>\n",
" <th>
114
9</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
35.6
</td>\n",
" <td>
21.5
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
40
</th>\n",
" <th>
1111
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
39.1
</td>\n",
" <td>
41.9
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
42
</th>\n",
" <th>
1127
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>3
5.7
</td>\n",
" <td>3
2.5
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
46
</th>\n",
" <th>
1115
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Dead</td>\n",
" <td>Dead</td>\n",
" <td>
44
.3</td>\n",
" <td>
63
.3</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
48
</th>\n",
" <th>
1114
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>3
7.5
</td>\n",
" <td>3
1.3
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
49
</th>\n",
" <th>
1143
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>2
2.1
</td>\n",
" <td>2
6.6
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
53
</th>\n",
" <th>
1102
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
39.0
</td>\n",
" <td>
29.7
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
56
</th>\n",
" <th>
1142
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>
40.1
</td>\n",
" <td>
71.0
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
6
0</th>\n",
" <th>
114
0</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
58.1
</td>\n",
" <td>
42.3
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
61
</th>\n",
" <th>
1288
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>3
7
.3</td>\n",
" <td>3
9
.3</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
63
</th>\n",
" <th>
1132
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Dead
</td>\n",
" <td>
Alive
</td>\n",
" <td>
36.3
</td>\n",
" <td>
18.0
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <th>...</th>\n",
...
@@ -771,184 +771,184 @@
...
@@ -771,184 +771,184 @@
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1240
</th>\n",
" <th>
649
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
29.7
</td>\n",
" <td>
36.9
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1243
</th>\n",
" <th>
650
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>
40.1
</td>\n",
" <td>
81.8
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
125
1</th>\n",
" <th>
61
1</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
27.8
</td>\n",
" <td>
43.4
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1252
</th>\n",
" <th>
608
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
52.4
</td>\n",
" <td>
23.5
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1253
</th>\n",
" <th>
605
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
27.8
</td>\n",
" <td>
59.0
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
125
4</th>\n",
" <th>
60
4</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>4
1.0
</td>\n",
" <td>4
3.8
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1259
</th>\n",
" <th>
554
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
40.8
</td>\n",
" <td>
21.3
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1260
</th>\n",
" <th>
555
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>
20.4
</td>\n",
" <td>
76.9
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1263
</th>\n",
" <th>
558
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>
20.9
</td>\n",
" <td>
75.2
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1264
</th>\n",
" <th>
560
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
45.5
</td>\n",
" <td>
53.0
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1269
</th>\n",
" <th>
562
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
38.8
</td>\n",
" <td>
43.7
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1270
</th>\n",
" <th>
563
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>5
5.5
</td>\n",
" <td>5
0.9
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1271
</th>\n",
" <th>
565
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
24.9
</td>\n",
" <td>
32.8
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1273
</th>\n",
" <th>
566
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>5
5
.7</td>\n",
" <td>5
0
.7</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1276
</th>\n",
" <th>
567
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>
58.5
</td>\n",
" <td>
66.1
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1278
</th>\n",
" <th>
569
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
43.7
</td>\n",
" <td>
27.2
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1282
</th>\n",
" <th>
548
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>51.2</td>\n",
" <td>62.1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1284</th>\n",
" <td>Yes</td>\n",
" <td>Dead</td>\n",
" <td>36.0</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1285
</th>\n",
" <th>
571
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
48.3
</td>\n",
" <td>
38.1
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1288
</th>\n",
" <th>
573
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Dead</td>\n",
" <td>Dead</td>\n",
" <td>
39.3
</td>\n",
" <td>
55.2
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
129
5</th>\n",
" <th>
57
5</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Dead
</td>\n",
" <td>
Alive
</td>\n",
" <td>
82.4
</td>\n",
" <td>
50.9
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1296
</th>\n",
" <th>
580
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
38.3
</td>\n",
" <td>
42.5
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1297
</th>\n",
" <th>
583
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
32.7
</td>\n",
" <td>
26.6
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1299
</th>\n",
" <th>
584
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>
Dead
</td>\n",
" <td>
Alive
</td>\n",
" <td>
60.0
</td>\n",
" <td>
23.3
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1303
</th>\n",
" <th>
587
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>3
1.2
</td>\n",
" <td>3
4.8
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1304
</th>\n",
" <th>
589
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
47.8
</td>\n",
" <td>
28.2
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1305
</th>\n",
" <th>
591
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
60.9
</td>\n",
" <td>
38.5
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1307
</th>\n",
" <th>
592
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>4
3
.0</td>\n",
" <td>4
1
.0</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1309
</th>\n",
" <th>
595
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
35.9
</td>\n",
" <td>
25.7
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1311
</th>\n",
" <th>
572
</th>\n",
" <td>Yes</td>\n",
" <td>Yes</td>\n",
" <td>Dead</td>\n",
" <td>Dead</td>\n",
" <td>62.1</td>\n",
" <td>66.8</td>\n",
" </tr>\n",
" <tr>\n",
" <th>656</th>\n",
" <td>Yes</td>\n",
" <td>Alive</td>\n",
" <td>43.0</td>\n",
" </tr>\n",
" </tr>\n",
" </tbody>\n",
" </tbody>\n",
"</table>\n",
"</table>\n",
...
@@ -957,72 +957,72 @@
...
@@ -957,72 +957,72 @@
],
],
"text/plain": [
"text/plain": [
" Smoker Status Age\n",
" Smoker Status Age\n",
"0 Yes Alive 21.0\n",
"915 Yes Alive 47.4\n",
"1 Yes Alive 19.3\n",
"1095 Yes Alive 30.2\n",
"4 Yes Alive 81.4\n",
"941 Yes Alive 30.4\n",
"7 Yes Dead 57.5\n",
"1311 Yes Dead 62.1\n",
"8 Yes Alive 24.8\n",
"1091 Yes Alive 60.0\n",
"9 Yes Alive 49.5\n",
"945 Yes Alive 60.2\n",
"10 Yes Alive 30.0\n",
"1148 Yes Alive 50.6\n",
"12 Yes Alive 49.2\n",
"19 Yes Alive 65.7\n",
"21 Yes Alive 38.3\n",
"23 Yes Dead 62.3\n",
"26 Yes Alive 59.2\n",
"30 Yes Alive 34.6\n",
"31 Yes Alive 51.9\n",
"32 Yes Alive 49.9\n",
"35 Yes Alive 46.7\n",
"36 Yes Alive 44.4\n",
"37 Yes Alive 29.5\n",
"38 Yes Dead 33.0\n",
"39 Yes Alive 35.6\n",
"40 Yes Alive 39.1\n",
"42 Yes Alive 35.7\n",
"46 Yes Dead 44.3\n",
"48 Yes Alive 37.5\n",
"49 Yes Alive 22.1\n",
"53 Yes Alive 39.0\n",
"56 Yes Alive 40.1\n",
"60 Yes Alive 58.1\n",
"61 Yes Alive 37.3\n",
"63 Yes Dead 36.3\n",
"... ... ... ...\n",
"1240 Yes Alive 29.7\n",
"1243 Yes Alive 40.1\n",
"1251 Yes Alive 27.8\n",
"1252 Yes Alive 52.4\n",
"1253 Yes Alive 27.8\n",
"1254 Yes Alive 41.0\n",
"1259 Yes Alive 40.8\n",
"1260 Yes Alive 20.4\n",
"1263 Yes Alive 20.9\n",
"1264 Yes Alive 45.5\n",
"1269 Yes Alive 38.8\n",
"1270 Yes Alive 55.5\n",
"1271 Yes Alive 24.9\n",
"1273 Yes Alive 55.7\n",
"1276 Yes Alive 58.5\n",
"1278 Yes Alive 43.7\n",
"1282 Yes Alive 51.2\n",
"1284 Yes Dead 36.0\n",
"1285 Yes Alive 48.3\n",
"1288 Yes Dead 39.3\n",
"1295 Yes Dead 82.4\n",
"1296 Yes Alive 38.3\n",
"1297 Yes Alive 32.7\n",
"1299 Yes Dead 60.0\n",
"1303 Yes Alive 31.2\n",
"1304 Yes Alive 47.8\n",
"1305 Yes Alive 60.9\n",
"1307 Yes Alive 43.0\n",
"1307 Yes Alive 43.0\n",
"913 Yes Dead 84.4\n",
"946 Yes Alive 25.0\n",
"1276 Yes Alive 58.5\n",
"950 Yes Dead 43.3\n",
"1309 Yes Alive 35.9\n",
"1309 Yes Alive 35.9\n",
"1311 Yes Dead 62.1\n",
"947 Yes Dead 37.1\n",
"1125 Yes Alive 57.2\n",
"948 Yes Alive 47.7\n",
"1093 Yes Dead 84.3\n",
"911 Yes Alive 38.6\n",
"1273 Yes Alive 55.7\n",
"1149 Yes Alive 21.5\n",
"1111 Yes Alive 41.9\n",
"1127 Yes Alive 32.5\n",
"1115 Yes Dead 63.3\n",
"1114 Yes Dead 31.3\n",
"1143 Yes Alive 26.6\n",
"1102 Yes Alive 29.7\n",
"1142 Yes Dead 71.0\n",
"1140 Yes Alive 42.3\n",
"1288 Yes Dead 39.3\n",
"1132 Yes Alive 18.0\n",
"... ... ... ...\n",
"649 Yes Alive 36.9\n",
"650 Yes Dead 81.8\n",
"611 Yes Alive 43.4\n",
"608 Yes Alive 23.5\n",
"605 Yes Alive 59.0\n",
"604 Yes Alive 43.8\n",
"554 Yes Alive 21.3\n",
"555 Yes Dead 76.9\n",
"558 Yes Dead 75.2\n",
"560 Yes Alive 53.0\n",
"562 Yes Alive 43.7\n",
"563 Yes Alive 50.9\n",
"565 Yes Alive 32.8\n",
"566 Yes Alive 50.7\n",
"567 Yes Dead 66.1\n",
"569 Yes Alive 27.2\n",
"548 Yes Alive 62.1\n",
"571 Yes Alive 38.1\n",
"573 Yes Dead 55.2\n",
"575 Yes Alive 50.9\n",
"580 Yes Alive 42.5\n",
"583 Yes Alive 26.6\n",
"584 Yes Alive 23.3\n",
"587 Yes Alive 34.8\n",
"589 Yes Alive 28.2\n",
"591 Yes Alive 38.5\n",
"592 Yes Alive 41.0\n",
"595 Yes Alive 25.7\n",
"572 Yes Dead 66.8\n",
"656 Yes Alive 43.0\n",
"\n",
"\n",
"[582 rows x 3 columns]"
"[582 rows x 3 columns]"
]
]
},
},
"execution_count":
10
,
"execution_count":
5
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -1033,7 +1033,7 @@
...
@@ -1033,7 +1033,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
11
,
"execution_count":
6
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -1064,184 +1064,184 @@
...
@@ -1064,184 +1064,184 @@
" </thead>\n",
" </thead>\n",
" <tbody>\n",
" <tbody>\n",
" <tr>\n",
" <tr>\n",
" <th>
2
</th>\n",
" <th>
1313
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>
Dead
</td>\n",
" <td>
Alive
</td>\n",
" <td>
57.5
</td>\n",
" <td>
39.1
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
3
</th>\n",
" <th>
1048
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
47.1
</td>\n",
" <td>
28.5
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <th>5
68
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>3
6.8
</td>\n",
" <td>3
3.5
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
6
</th>\n",
" <th>
1047
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
23.8
</td>\n",
" <td>
62.6
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
11
</th>\n",
" <th>
570
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Dead</td>\n",
" <td>Dead</td>\n",
" <td>
66.0
</td>\n",
" <td>
56.2
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1
3
</th>\n",
" <th>1
046
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
58.4
</td>\n",
" <td>
20.3
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1
4
</th>\n",
" <th>1
045
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>
Dead
</td>\n",
" <td>
Alive
</td>\n",
" <td>
60.6
</td>\n",
" <td>
48.5
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1
5
</th>\n",
" <th>1
044
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
25.1
</td>\n",
" <td>
32.2
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
16
</th>\n",
" <th>
574
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
43.5
</td>\n",
" <td>
51.6
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
17
</th>\n",
" <th>
576
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
27.1
</td>\n",
" <td>
41.4
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
18
</th>\n",
" <th>
577
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>
58.3
</td>\n",
" <td>
65.4
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
20
</th>\n",
" <th>
578
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Dead</td>\n",
" <td>Dead</td>\n",
" <td>
73.2
</td>\n",
" <td>
67.7
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
22
</th>\n",
" <th>
579
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>3
3.4
</td>\n",
" <td>3
7.8
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
24
</th>\n",
" <th>
1042
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
18.0
</td>\n",
" <td>
61.5
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
25
</th>\n",
" <th>
581
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
56.2
</td>\n",
" <td>
23.9
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
27
</th>\n",
" <th>
582
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
25.8
</td>\n",
" <td>
60.1
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
28
</th>\n",
" <th>
585
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Dead</td>\n",
" <td>Dead</td>\n",
" <td>
36.9
</td>\n",
" <td>
75.6
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
29
</th>\n",
" <th>
586
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>
20.2
</td>\n",
" <td>
72.1
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
33
</th>\n",
" <th>
1039
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
19.4
</td>\n",
" <td>
21.7
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
34
</th>\n",
" <th>
588
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>5
6.9
</td>\n",
" <td>5
5.3
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
41
</th>\n",
" <th>
1038
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Dead</td>\n",
" <td>Dead</td>\n",
" <td>
69.7
</td>\n",
" <td>
81.8
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
43
</th>\n",
" <th>
590
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Dead</td>\n",
" <td>Dead</td>\n",
" <td>7
5.8
</td>\n",
" <td>7
9.3
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
4
4</th>\n",
" <th>
56
4</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>2
5.3
</td>\n",
" <td>2
9.8
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
45
</th>\n",
" <th>
1051
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>
Dead
</td>\n",
" <td>
Alive
</td>\n",
" <td>
83.0
</td>\n",
" <td>
53.8
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
47
</th>\n",
" <th>
1052
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
18.5
</td>\n",
" <td>
20.7
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>5
0
</th>\n",
" <th>5
61
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
82.8
</td>\n",
" <td>
62.4
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>5
1
</th>\n",
" <th>5
29
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
45.0
</td>\n",
" <td>
25.5
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
52
</th>\n",
" <th>
1068
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>
Dead
</td>\n",
" <td>
Alive
</td>\n",
" <td>
73.3
</td>\n",
" <td>
49.4
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>5
4
</th>\n",
" <th>5
33
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
28.4
</td>\n",
" <td>
35.1
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>5
5
</th>\n",
" <th>5
34
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>
Dead
</td>\n",
" <td>
Alive
</td>\n",
" <td>
73.7
</td>\n",
" <td>
38.0
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <th>...</th>\n",
...
@@ -1250,184 +1250,184 @@
...
@@ -1250,184 +1250,184 @@
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1
262
</th>\n",
" <th>1
128
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
41.2
</td>\n",
" <td>
19.1
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1265
</th>\n",
" <th>
396
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>2
6.7
</td>\n",
" <td>2
0.4
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1266
</th>\n",
" <th>
261
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>4
1.8
</td>\n",
" <td>4
9.1
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1
267
</th>\n",
" <th>1
190
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>3
3
.7</td>\n",
" <td>3
8
.7</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1
268</th>\n",
" <th>268</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>5
6.5
</td>\n",
" <td>5
2.4
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1272
</th>\n",
" <th>
256
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
33.0
</td>\n",
" <td>
52.6
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1274
</th>\n",
" <th>
398
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
25.7
</td>\n",
" <td>
46.2
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1275
</th>\n",
" <th>
277
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
19.5
</td>\n",
" <td>
55.3
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1
277
</th>\n",
" <th>1
183
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
23.4
</td>\n",
" <td>
57.5
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1279
</th>\n",
" <th>
278
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>
34.4
</td>\n",
" <td>
87.7
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1280
</th>\n",
" <th>
383
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Dead</td>\n",
" <td>Dead</td>\n",
" <td>
83.9
</td>\n",
" <td>
74.1
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1
281
</th>\n",
" <th>1
196
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>
34.9
</td>\n",
" <td>
76.2
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
128
3</th>\n",
" <th>
27
3</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>
Dead
</td>\n",
" <td>
Alive
</td>\n",
" <td>
86.3
</td>\n",
" <td>
36.5
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1286
</th>\n",
" <th>
252
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
63
.1</td>\n",
" <td>
20
.1</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1287
</th>\n",
" <th>
384
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
60.8
</td>\n",
" <td>
37.0
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1289
</th>\n",
" <th>
403
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>
Alive
</td>\n",
" <td>
Dead
</td>\n",
" <td>
36.7
</td>\n",
" <td>
78.0
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
129
0</th>\n",
" <th>
25
0</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
63
.8</td>\n",
" <td>
30
.8</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1291
</th>\n",
" <th>
249
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Dead</td>\n",
" <td>Dead</td>\n",
" <td>
71
.3</td>\n",
" <td>
84
.3</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1292
</th>\n",
" <th>
404
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
57.7
</td>\n",
" <td>
26.8
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1
293
</th>\n",
" <th>1
131
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
63.2
</td>\n",
" <td>
22.9
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1
29
4</th>\n",
" <th>1
18
4</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>46.
6
</td>\n",
" <td>46.
5
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1298
</th>\n",
" <th>
282
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
39.7
</td>\n",
" <td>
18.5
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1
300
</th>\n",
" <th>1
194
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Dead</td>\n",
" <td>Dead</td>\n",
" <td>
71.0
</td>\n",
" <td>
83.3
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1301
</th>\n",
" <th>
255
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
20.5
</td>\n",
" <td>
19.6
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1302
</th>\n",
" <th>
405
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
44.4
</td>\n",
" <td>
63.0
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
130
6</th>\n",
" <th>
27
6</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>
Dead
</td>\n",
" <td>
Alive
</td>\n",
" <td>
61
.4</td>\n",
" <td>
38
.4</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1
308
</th>\n",
" <th>1
124
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
42.1
</td>\n",
" <td>
52.0
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1310
</th>\n",
" <th>
275
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
22.3
</td>\n",
" <td>
38.8
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1
312
</th>\n",
" <th>1
185
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Dead</td>\n",
" <td>Dead</td>\n",
" <td>
88.6
</td>\n",
" <td>
73.8
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>
1313
</th>\n",
" <th>
280
</th>\n",
" <td>No</td>\n",
" <td>No</td>\n",
" <td>Alive</td>\n",
" <td>Alive</td>\n",
" <td>
39
.1</td>\n",
" <td>
74
.1</td>\n",
" </tr>\n",
" </tr>\n",
" </tbody>\n",
" </tbody>\n",
"</table>\n",
"</table>\n",
...
@@ -1436,72 +1436,72 @@
...
@@ -1436,72 +1436,72 @@
],
],
"text/plain": [
"text/plain": [
" Smoker Status Age\n",
" Smoker Status Age\n",
"2 No Dead 57.5\n",
"3 No Alive 47.1\n",
"5 No Alive 36.8\n",
"6 No Alive 23.8\n",
"11 No Dead 66.0\n",
"13 No Alive 58.4\n",
"14 No Dead 60.6\n",
"15 No Alive 25.1\n",
"16 No Alive 43.5\n",
"17 No Alive 27.1\n",
"18 No Alive 58.3\n",
"20 No Dead 73.2\n",
"22 No Alive 33.4\n",
"24 No Alive 18.0\n",
"25 No Alive 56.2\n",
"27 No Alive 25.8\n",
"28 No Dead 36.9\n",
"29 No Alive 20.2\n",
"33 No Alive 19.4\n",
"34 No Alive 56.9\n",
"41 No Dead 69.7\n",
"43 No Dead 75.8\n",
"44 No Alive 25.3\n",
"45 No Dead 83.0\n",
"47 No Alive 18.5\n",
"50 No Alive 82.8\n",
"51 No Alive 45.0\n",
"52 No Dead 73.3\n",
"54 No Alive 28.4\n",
"55 No Dead 73.7\n",
"... ... ... ...\n",
"1262 No Alive 41.2\n",
"1265 No Alive 26.7\n",
"1266 No Alive 41.8\n",
"1267 No Alive 33.7\n",
"1268 No Alive 56.5\n",
"1272 No Alive 33.0\n",
"1274 No Alive 25.7\n",
"1275 No Alive 19.5\n",
"1277 No Alive 23.4\n",
"1279 No Alive 34.4\n",
"1280 No Dead 83.9\n",
"1281 No Alive 34.9\n",
"1283 No Dead 86.3\n",
"1286 No Alive 63.1\n",
"1287 No Alive 60.8\n",
"1289 No Alive 36.7\n",
"1290 No Alive 63.8\n",
"1291 No Dead 71.3\n",
"1292 No Alive 57.7\n",
"1293 No Alive 63.2\n",
"1294 No Alive 46.6\n",
"1298 No Alive 39.7\n",
"1300 No Dead 71.0\n",
"1301 No Alive 20.5\n",
"1302 No Alive 44.4\n",
"1306 No Dead 61.4\n",
"1308 No Alive 42.1\n",
"1310 No Alive 22.3\n",
"1312 No Dead 88.6\n",
"1313 No Alive 39.1\n",
"1313 No Alive 39.1\n",
"1048 No Alive 28.5\n",
"568 No Alive 33.5\n",
"1047 No Alive 62.6\n",
"570 No Dead 56.2\n",
"1046 No Alive 20.3\n",
"1045 No Alive 48.5\n",
"1044 No Alive 32.2\n",
"574 No Alive 51.6\n",
"576 No Alive 41.4\n",
"577 No Dead 65.4\n",
"578 No Dead 67.7\n",
"579 No Alive 37.8\n",
"1042 No Alive 61.5\n",
"581 No Alive 23.9\n",
"582 No Alive 60.1\n",
"585 No Dead 75.6\n",
"586 No Dead 72.1\n",
"1039 No Alive 21.7\n",
"588 No Dead 55.3\n",
"1038 No Dead 81.8\n",
"590 No Dead 79.3\n",
"564 No Dead 29.8\n",
"1051 No Alive 53.8\n",
"1052 No Alive 20.7\n",
"561 No Alive 62.4\n",
"529 No Alive 25.5\n",
"1068 No Alive 49.4\n",
"533 No Alive 35.1\n",
"534 No Alive 38.0\n",
"... ... ... ...\n",
"1128 No Alive 19.1\n",
"396 No Alive 20.4\n",
"261 No Alive 49.1\n",
"1190 No Alive 38.7\n",
"268 No Alive 52.4\n",
"256 No Alive 52.6\n",
"398 No Alive 46.2\n",
"277 No Alive 55.3\n",
"1183 No Alive 57.5\n",
"278 No Dead 87.7\n",
"383 No Dead 74.1\n",
"1196 No Dead 76.2\n",
"273 No Alive 36.5\n",
"252 No Alive 20.1\n",
"384 No Alive 37.0\n",
"403 No Dead 78.0\n",
"250 No Alive 30.8\n",
"249 No Dead 84.3\n",
"404 No Alive 26.8\n",
"1131 No Alive 22.9\n",
"1184 No Alive 46.5\n",
"282 No Alive 18.5\n",
"1194 No Dead 83.3\n",
"255 No Alive 19.6\n",
"405 No Alive 63.0\n",
"276 No Alive 38.4\n",
"1124 No Alive 52.0\n",
"275 No Alive 38.8\n",
"1185 No Dead 73.8\n",
"280 No Alive 74.1\n",
"\n",
"\n",
"[732 rows x 3 columns]"
"[732 rows x 3 columns]"
]
]
},
},
"execution_count":
11
,
"execution_count":
6
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -1512,15 +1512,15 @@
...
@@ -1512,15 +1512,15 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
6
,
"execution_count":
7
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
"name": "stdout",
"name": "stdout",
"output_type": "stream",
"output_type": "stream",
"text": [
"text": [
"
73
2\n",
"
58
2\n",
"
58
2\n"
"
73
2\n"
]
]
}
}
],
],
...
@@ -1533,7 +1533,7 @@
...
@@ -1533,7 +1533,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
13
,
"execution_count":
8
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -1542,7 +1542,7 @@
...
@@ -1542,7 +1542,7 @@
"139"
"139"
]
]
},
},
"execution_count":
13
,
"execution_count":
8
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -1554,7 +1554,7 @@
...
@@ -1554,7 +1554,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
14
,
"execution_count":
9
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -1563,7 +1563,7 @@
...
@@ -1563,7 +1563,7 @@
"230"
"230"
]
]
},
},
"execution_count":
14
,
"execution_count":
9
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -1575,15 +1575,15 @@
...
@@ -1575,15 +1575,15 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
2
0,
"execution_count":
1
0,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
"name": "stdout",
"name": "stdout",
"output_type": "stream",
"output_type": "stream",
"text": [
"text": [
"Sur la période donnée, il y a pour les fumeuses un taux de mortalité de :
18.989071038251364
%\n",
"Sur la période donnée, il y a pour les fumeuses un taux de mortalité de :
23.883161512027492
%\n",
"et il y a pour les non fumeuses un taux de mortalité de : 3
9.51890034364261
%\n"
"et il y a pour les non fumeuses un taux de mortalité de : 3
1.420765027322407
%\n"
]
]
}
}
],
],
...
@@ -1596,7 +1596,7 @@
...
@@ -1596,7 +1596,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
39
,
"execution_count":
11
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -1620,7 +1620,7 @@
...
@@ -1620,7 +1620,7 @@
" <thead>\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th></th>\n",
" <th>
Fumeuses
</th>\n",
" <th>
Statut
</th>\n",
" <th>tauxMortalite</th>\n",
" <th>tauxMortalite</th>\n",
" </tr>\n",
" </tr>\n",
" </thead>\n",
" </thead>\n",
...
@@ -1628,55 +1628,44 @@
...
@@ -1628,55 +1628,44 @@
" <tr>\n",
" <tr>\n",
" <th>0</th>\n",
" <th>0</th>\n",
" <td>Fumeuses</td>\n",
" <td>Fumeuses</td>\n",
" <td>
18.989071
</td>\n",
" <td>
23.883162
</td>\n",
" </tr>\n",
" </tr>\n",
" <tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <th>1</th>\n",
" <td>nonFumeuses</td>\n",
" <td>nonFumeuses</td>\n",
" <td>3
9.518900
</td>\n",
" <td>3
1.420765
</td>\n",
" </tr>\n",
" </tr>\n",
" </tbody>\n",
" </tbody>\n",
"</table>\n",
"</table>\n",
"</div>"
"</div>"
],
],
"text/plain": [
"text/plain": [
"
Fumeuses
tauxMortalite\n",
"
Statut
tauxMortalite\n",
"0 Fumeuses
18.989071
\n",
"0 Fumeuses
23.883162
\n",
"1 nonFumeuses 3
9.518900
"
"1 nonFumeuses 3
1.420765
"
]
]
},
},
"execution_count":
39
,
"execution_count":
11
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
],
],
"source": [
"source": [
"d = {\"tauxMortalite\" : [tauxMortF*100, tauxMortNF*100], \"
Fumeuses
\" : [\"Fumeuses\", \"nonFumeuses\"]}\n",
"d = {\"tauxMortalite\" : [tauxMortF*100, tauxMortNF*100], \"
Statut
\" : [\"Fumeuses\", \"nonFumeuses\"]}\n",
"dt = pd.DataFrame(data = d)\n",
"dt = pd.DataFrame(data = d)\n",
"dt"
"dt"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
37
,
"execution_count":
12
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
"data": {
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAfIAAAFNCAYAAAD7De1wAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4zLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvIxREBQAAIABJREFUeJzt3Xm4LFV57/Hvj0mQUeSgoCBIUAMkAh5Qgt6LikqQixhxQFSMA5BEkajXcOOI0Ygj14GYIKKARMAriLMMAXFCZJJBFFFQkCMc5iEMcnjvH7WONJs99N6e3vvUOd/P8/TTNaxa9VZ3db+9VlVXpaqQJEn9tMJcByBJkmbORC5JUo+ZyCVJ6jETuSRJPWYilySpx0zkkiT1mIlcvZPkSUnum+s4loQkuyS5YmD8V0l2GGK5FZN8K8mrRhvhsiPJcUneMUvrOjvJK0ZQ78OS3JFkwyVdt/rLRK4JtS+MxY/7k9w1ML73XMe3NEpySJIjZrp8VW1WVT8aoq4PA1+pqqNnuq5RmckPrSS/T/L0aZT/k17n6UiyapJK8tjZWN9kquq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vScqKqFgFnAme2W8/uMzi/3Tf+rcB2VXVza12vOraexdUNDE9URtIssEUuLQeSPDHJ5gOTtqa7I93tdDeuAViL7sYbtyZ5FPDXA+UHywFcl+TP212uXjhJOUkjZotcWj6sAXwyyTp097G+gq6bfS/gW0kWVNUzk1wAXEp3V64fDCx/+GA54CDg63Rnvl/CA7eoPA74TDtBbs+q+tUsbJu0XPNkN0mSesyudUmSesxELklSj5nIJUnqMRO5JEk9ZiKXJKnHTOSSJPWYiVySpB4zkUuS1GP/H8KnDwi66ozSAAAAAElFTkSuQmCC\n",
"text/plain": [
"text/plain": [
"array([[<matplotlib.axes._subplots.AxesSubplot object at 0x7f2c371ac6d8>]],\n",
"<Figure size 576x360 with 1 Axes>"
" dtype=object)"
]
},
"execution_count": 37,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXcAAAEMCAYAAAA/Jfb8AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4zLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvIxREBQAAFOtJREFUeJzt3X+QZXV55/H3x0GsgSGDirbWgIJKjCQjUVrQrST0qJEf1hZbblxBAkIksySim0hKZ7MkumvFxBhiogtMxogIifbGDRVBxrC7ybZuYohINIyjYk34OSCwSAAHURh59o97J3unp6f7zO070z3ffr+qpqrPOd9zznOfPvO5p8+5P1JVSJLa8pSFLkCSNHqGuyQ1yHCXpAYZ7pLUIMNdkhpkuEtSgwx3aR9JcmSSSnJAf/pzSd6y0HWpTYa7FkyS25O8dh/t5/Ekh02b/9V+2B455HbPSfI3w9ZVVadU1SdGsS1pOsNdS8VtwBk7JpKsBpYPu7EdZ9/SYmW4a0EkuQp4HnBtkm1J3pXk00nuTfJwki8k+fGB8VNJzhuY/pcz3ST/KskDSY7oTx+b5KEkPzawy6uAswem3wJcOa2mlU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q6MsnPA5vt04weovcFFF+j93/vqXhMbad3UvAEcBG9G/O/3n+ye+cojqcmb6gOSvK3wAuA2+ndtPjPVXXzgha1CE3r073Auqra59+UtZglWQm8BngzvRv0G4BLquqJBS1sEZqhVx+rqosXtqrFK8nz6L2qaLKq7h3JNlsO9/47vN5D7yz0T6rqBwtc0qJkn7pJcgDw74Ef0OvT9xe4pEXLXnWTZBnw5N54zX/T4S5JS1XTN1Qlaaky3CWpQYa7JDXIcJekBhnuktQgw12SGmS4S1KD/h/VFYdaJC+fywAAAABJRU5ErkJggg==\n",
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
]
},
},
"metadata": {
"metadata": {
...
@@ -1687,7 +1676,16 @@
...
@@ -1687,7 +1676,16 @@
],
],
"source": [
"source": [
"%matplotlib inline\n",
"%matplotlib inline\n",
"dt.hist(xrot=20)\n"
"plt.figure(figsize=(8, 5))\n",
"plt.bar(dt[\"Statut\"], dt[\"tauxMortalite\"], color=['salmon', 'skyblue'])\n",
"\n",
"# Titre et labels\n",
"plt.title(\"Taux de mortalité par statut de tabagisme\")\n",
"plt.xlabel(\"Statut\")\n",
"plt.ylabel(\"Taux de mortalité (%)\")\n",
"\n",
"# Affichage du graphique\n",
"plt.show()\n"
]
]
},
},
{
{
...
...
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