質問編集履歴

1

ascsdjbvjd msnk

2021/12/25 01:06

投稿

ngm_programmer
ngm_programmer

スコア5

test CHANGED
File without changes
test CHANGED
@@ -20,43 +20,7 @@
20
20
 
21
21
 
22
22
 
23
- p = pd.read_html("https://education-career.jp/magazine/data-report/2019/education-continuance-rate_2018/", index_col=0)
24
23
 
25
-
26
-
27
- print(p[3])
28
-
29
-
30
-
31
- total = p[3][1:48]
32
-
33
- men = p[3][2][1:48]
34
-
35
- wmen = p[3][3][1:48]
36
-
37
-
38
-
39
-
40
-
41
- fig = plt.figure()
42
-
43
-
44
-
45
- plt.plot(total, men, label="Men", c="red")
46
-
47
- plt.plot(total, wmen, label="Wmen", c="blue")
48
-
49
- plt.xlim(0, 47)
50
-
51
- plt.ylim(0, 47)
52
-
53
- plt.grid(c="0.7", ls="dotted")
54
-
55
- plt.tick_params(direction="in")
56
-
57
- plt.xlabel("大学進学率")
58
-
59
- plt.ylabel("都道府県")
60
24
 
61
25
  plt.legend()
62
26