Skip to content

Commit b8d9d71

Browse files
committed
3th
1 parent f380034 commit b8d9d71

File tree

8 files changed

+213
-161
lines changed

8 files changed

+213
-161
lines changed

Notebook/06.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9587,7 +9587,7 @@
95879587
"version": "3.9.11"
95889588
},
95899589
"toc-autonumbering": false,
9590-
"toc-showcode": true,
9590+
"toc-showcode": false,
95919591
"toc-showmarkdowntxt": false,
95929592
"toc-showtags": true
95939593
},

Notebook/08.ipynb

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

Notebook/09.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,7 +2744,7 @@
27442744
}
27452745
],
27462746
"source": [
2747-
"## 직업별 월금 평균표 만들기\n",
2747+
"## 직업별 월급 평균표 만들기\n",
27482748
"\n",
27492749
"# job, income 결측치 제거\n",
27502750
"# job별 분리\n",
@@ -3087,7 +3087,7 @@
30873087
"source": [
30883088
"# 막대 그래프 만들기\n",
30893089
"sns.barplot(data = bottom10, y = 'job', x = 'mean_income') \\\n",
3090-
" .set(xlim = (0, 800))"
3090+
" .set(xlim = [0, 800])"
30913091
]
30923092
},
30933093
{
@@ -3394,7 +3394,7 @@
33943394
],
33953395
"source": [
33963396
"# 남성 직업 빈도 막대 그래프 만들기\n",
3397-
"sns.barplot(data = job_male, y = 'job', x = 'n').set(xlim = (0, 500))"
3397+
"sns.barplot(data = job_male, y = 'job', x = 'n').set(xlim = [0, 500])"
33983398
]
33993399
},
34003400
{
@@ -3435,7 +3435,7 @@
34353435
],
34363436
"source": [
34373437
"# 여성 직업 빈도 막대 그래프 만들기\n",
3438-
"sns.barplot(data = job_female, y = 'job', x = 'n').set(xlim = (0, 500))"
3438+
"sns.barplot(data = job_female, y = 'job', x = 'n').set(xlim = [0, 500])"
34393439
]
34403440
},
34413441
{
@@ -3975,7 +3975,7 @@
39753975
],
39763976
"source": [
39773977
"# 막대 그래프 만들기\n",
3978-
"sns.barplot(data = rel_div, x = \"religion\", y = 'proportion')"
3978+
"sns.barplot(data = rel_div, x = 'religion', y = 'proportion')"
39793979
]
39803980
},
39813981
{
@@ -4305,7 +4305,7 @@
43054305
],
43064306
"source": [
43074307
"# 막대 그래프 만들기\n",
4308-
"sns.barplot(data = age_div, x = \"ageg\", y = 'proportion')"
4308+
"sns.barplot(data = age_div, x = 'ageg', y = 'proportion')"
43094309
]
43104310
},
43114311
{

Notebook/12.ipynb

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

Notebook/14.ipynb

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
{
2828
"cell_type": "code",
29-
"execution_count": 3,
29+
"execution_count": 1,
3030
"id": "9a087723-e261-4694-a1ea-daf2d73d0178",
3131
"metadata": {
3232
"eval": false
@@ -39,7 +39,7 @@
3939
},
4040
{
4141
"cell_type": "code",
42-
"execution_count": 4,
42+
"execution_count": 2,
4343
"id": "0dd901a9-4afc-4d31-8fd2-ea5d13e1ef0b",
4444
"metadata": {
4545
"eval": false
@@ -94,7 +94,7 @@
9494
"1 suv 62 13.50000"
9595
]
9696
},
97-
"execution_count": 4,
97+
"execution_count": 2,
9898
"metadata": {},
9999
"output_type": "execute_result"
100100
}
@@ -114,7 +114,7 @@
114114
},
115115
{
116116
"cell_type": "code",
117-
"execution_count": 5,
117+
"execution_count": 3,
118118
"id": "8a3d4443",
119119
"metadata": {},
120120
"outputs": [],
@@ -125,7 +125,7 @@
125125
},
126126
{
127127
"cell_type": "code",
128-
"execution_count": 6,
128+
"execution_count": 4,
129129
"id": "18bd4d2e",
130130
"metadata": {},
131131
"outputs": [
@@ -135,7 +135,7 @@
135135
"Ttest_indResult(statistic=11.917282584324107, pvalue=2.3909550904711282e-21)"
136136
]
137137
},
138-
"execution_count": 6,
138+
"execution_count": 4,
139139
"metadata": {},
140140
"output_type": "execute_result"
141141
}
@@ -156,7 +156,7 @@
156156
},
157157
{
158158
"cell_type": "code",
159-
"execution_count": 7,
159+
"execution_count": 5,
160160
"id": "f8973f30",
161161
"metadata": {},
162162
"outputs": [
@@ -209,7 +209,7 @@
209209
"1 r 168 16.738095"
210210
]
211211
},
212-
"execution_count": 7,
212+
"execution_count": 5,
213213
"metadata": {},
214214
"output_type": "execute_result"
215215
}
@@ -229,7 +229,7 @@
229229
},
230230
{
231231
"cell_type": "code",
232-
"execution_count": 8,
232+
"execution_count": 6,
233233
"id": "fbc58f04-3800-47ac-90de-8f69925a1d54",
234234
"metadata": {},
235235
"outputs": [],
@@ -240,7 +240,7 @@
240240
},
241241
{
242242
"cell_type": "code",
243-
"execution_count": 9,
243+
"execution_count": 7,
244244
"id": "99706a11-8e88-4ece-ba49-93205fd58f68",
245245
"metadata": {},
246246
"outputs": [
@@ -250,7 +250,7 @@
250250
"Ttest_indResult(statistic=-1.066182514588919, pvalue=0.28752051088667036)"
251251
]
252252
},
253-
"execution_count": 9,
253+
"execution_count": 7,
254254
"metadata": {},
255255
"output_type": "execute_result"
256256
}
@@ -274,7 +274,7 @@
274274
},
275275
{
276276
"cell_type": "code",
277-
"execution_count": 10,
277+
"execution_count": 8,
278278
"id": "0c9ef8ee",
279279
"metadata": {
280280
"eval": false
@@ -326,7 +326,7 @@
326326
"pce 0.614518 1.000000"
327327
]
328328
},
329-
"execution_count": 10,
329+
"execution_count": 8,
330330
"metadata": {},
331331
"output_type": "execute_result"
332332
}
@@ -349,7 +349,7 @@
349349
},
350350
{
351351
"cell_type": "code",
352-
"execution_count": 11,
352+
"execution_count": 9,
353353
"id": "37683dec",
354354
"metadata": {},
355355
"outputs": [
@@ -359,7 +359,7 @@
359359
"(0.6145176141932079, 6.773527303292085e-61)"
360360
]
361361
},
362-
"execution_count": 11,
362+
"execution_count": 9,
363363
"metadata": {},
364364
"output_type": "execute_result"
365365
}
@@ -381,7 +381,7 @@
381381
},
382382
{
383383
"cell_type": "code",
384-
"execution_count": 12,
384+
"execution_count": 10,
385385
"id": "0806863d",
386386
"metadata": {
387387
"eval": false
@@ -505,7 +505,7 @@
505505
"4 18.7 8 360.0 175 3.15 3.440 17.02 0 0 3 2"
506506
]
507507
},
508-
"execution_count": 12,
508+
"execution_count": 10,
509509
"metadata": {},
510510
"output_type": "execute_result"
511511
}
@@ -517,7 +517,7 @@
517517
},
518518
{
519519
"cell_type": "code",
520-
"execution_count": 13,
520+
"execution_count": 11,
521521
"id": "95f888bd",
522522
"metadata": {},
523523
"outputs": [
@@ -729,7 +729,7 @@
729729
"carb -0.55 0.53 0.39 0.75 -0.09 0.43 -0.66 -0.57 0.06 0.27 1.00"
730730
]
731731
},
732-
"execution_count": 13,
732+
"execution_count": 11,
733733
"metadata": {},
734734
"output_type": "execute_result"
735735
}
@@ -750,21 +750,21 @@
750750
},
751751
{
752752
"cell_type": "code",
753-
"execution_count": 50,
753+
"execution_count": 12,
754754
"id": "11fafd52",
755755
"metadata": {
756756
"eval": false
757757
},
758758
"outputs": [],
759759
"source": [
760-
"import matplotlib as plt\n",
760+
"import matplotlib.pyplot as plt\n",
761761
"plt.rcParams.update({'figure.dpi' : '120', # 해상도 설정\n",
762762
" 'figure.figsize': [7.5, 5.5]}) # 가로 세로 크기 설정"
763763
]
764764
},
765765
{
766766
"cell_type": "code",
767-
"execution_count": 51,
767+
"execution_count": 13,
768768
"id": "ade2fbc3",
769769
"metadata": {
770770
"eval": false
@@ -776,7 +776,7 @@
776776
"<AxesSubplot:>"
777777
]
778778
},
779-
"execution_count": 51,
779+
"execution_count": 13,
780780
"metadata": {},
781781
"output_type": "execute_result"
782782
},
@@ -813,7 +813,7 @@
813813
},
814814
{
815815
"cell_type": "code",
816-
"execution_count": 16,
816+
"execution_count": 14,
817817
"id": "9f2174e2",
818818
"metadata": {},
819819
"outputs": [
@@ -833,7 +833,7 @@
833833
" [0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.]])"
834834
]
835835
},
836-
"execution_count": 16,
836+
"execution_count": 14,
837837
"metadata": {},
838838
"output_type": "execute_result"
839839
}
@@ -847,7 +847,7 @@
847847
},
848848
{
849849
"cell_type": "code",
850-
"execution_count": 17,
850+
"execution_count": 15,
851851
"id": "4d7dd658",
852852
"metadata": {},
853853
"outputs": [
@@ -867,7 +867,7 @@
867867
" [0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1.]])"
868868
]
869869
},
870-
"execution_count": 17,
870+
"execution_count": 15,
871871
"metadata": {},
872872
"output_type": "execute_result"
873873
}
@@ -888,7 +888,7 @@
888888
},
889889
{
890890
"cell_type": "code",
891-
"execution_count": 18,
891+
"execution_count": 16,
892892
"id": "445c7be7",
893893
"metadata": {
894894
"eval": false
@@ -900,7 +900,7 @@
900900
"<AxesSubplot:>"
901901
]
902902
},
903-
"execution_count": 18,
903+
"execution_count": 16,
904904
"metadata": {},
905905
"output_type": "execute_result"
906906
},
@@ -935,7 +935,7 @@
935935
},
936936
{
937937
"cell_type": "code",
938-
"execution_count": 19,
938+
"execution_count": 17,
939939
"id": "cfb06242",
940940
"metadata": {
941941
"eval": false
@@ -947,7 +947,7 @@
947947
"<AxesSubplot:>"
948948
]
949949
},
950-
"execution_count": 19,
950+
"execution_count": 17,
951951
"metadata": {},
952952
"output_type": "execute_result"
953953
},
@@ -977,7 +977,7 @@
977977
},
978978
{
979979
"cell_type": "code",
980-
"execution_count": 20,
980+
"execution_count": 18,
981981
"id": "43071926",
982982
"metadata": {
983983
"eval": false
@@ -989,7 +989,7 @@
989989
"<AxesSubplot:>"
990990
]
991991
},
992-
"execution_count": 20,
992+
"execution_count": 18,
993993
"metadata": {},
994994
"output_type": "execute_result"
995995
},
@@ -1015,7 +1015,7 @@
10151015
" linewidths = .5, # 경계 구분선 추가\n",
10161016
" vmax = 1, # 가장 진한 파란색으로 표현할 최대값\n",
10171017
" vmin = -1, # 가장 진한 빨간색으로 표현할 최소값\n",
1018-
" cbar_kws = {\"shrink\": .5}) # 범례 크기 줄이기"
1018+
" cbar_kws = {'shrink': .5}) # 범례 크기 줄이기"
10191019
]
10201020
}
10211021
],

0 commit comments

Comments
 (0)