This commit is contained in:
Jakub Zaręba 2023-03-27 20:32:07 +02:00
parent fa4a90c915
commit 8e211d4e4d
5 changed files with 286481 additions and 7 deletions

View File

@ -32,8 +32,8 @@
} }
], ],
"source": [ "source": [
"!pip install --user kaggle \n", "%pip install --user kaggle \n",
"!pip install --user pandas" "%pip install --user pandas"
] ]
}, },
{ {
@ -64,7 +64,7 @@
"source": [ "source": [
"import os\n", "import os\n",
"\n", "\n",
"!kaggle datasets download -d nitishsharma01/olympics-124-years-datasettill-2020" "%kaggle datasets download -d nitishsharma01/olympics-124-years-datasettill-2020"
] ]
}, },
{ {
@ -74,7 +74,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"#conda install -c conda-forge --freeze-installed unzip\n", "#conda install -c conda-forge --freeze-installed unzip\n",
"!unzip -o olympics-124-years-datasettill-2020.zip" "%unzip -o olympics-124-years-datasettill-2020.zip"
] ]
}, },
{ {
@ -93,7 +93,7 @@
], ],
"source": [ "source": [
"#find /c /v \"\" \"olympics-124-years-datasettill-2020/Athletes_summer_games.csv\" \n", "#find /c /v \"\" \"olympics-124-years-datasettill-2020/Athletes_summer_games.csv\" \n",
"!wc -l olympics-124-years-datasettill-2020/Athletes_summer_games.csv" "%wc -l olympics-124-years-datasettill-2020/Athletes_summer_games.csv"
] ]
}, },
{ {
@ -237790,7 +237790,7 @@
], ],
"source": [ "source": [
"#!type \"olympics-124-years-datasettill-2020\\Athletes_summer_games.csv\"\n", "#!type \"olympics-124-years-datasettill-2020\\Athletes_summer_games.csv\"\n",
"!head -n 5 olympics-124-years-datasettill-2020\\Athletes_summer_games.csv" "%head -n 5 olympics-124-years-datasettill-2020\\Athletes_summer_games.csv"
] ]
}, },
{ {
@ -237821,7 +237821,7 @@
} }
], ],
"source": [ "source": [
"!pip install --user seaborn" "%pip install --user seaborn"
] ]
}, },
{ {

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,235 @@
,NOC,region,notes
0,EOR,Refugee,NaN
1,LBN,Lebanon,NaN
2,SGP,Singapore,NaN
3,ROC,Russia,NaN
4,AFG,Afghanistan,
5,AHO,Curacao,Netherlands Antilles
6,ALB,Albania,
7,ALG,Algeria,
8,AND,Andorra,
9,ANG,Angola,
10,ANT,Antigua,Antigua and Barbuda
11,ANZ,Australia,Australasia
12,ARG,Argentina,
13,ARM,Armenia,
14,ARU,Aruba,
15,ASA,American Samoa,
16,AUS,Australia,
17,AUT,Austria,
18,AZE,Azerbaijan,
19,BAH,Bahamas,
20,BAN,Bangladesh,
21,BAR,Barbados,
22,BDI,Burundi,
23,BEL,Belgium,
24,BEN,Benin,
25,BER,Bermuda,
26,BHU,Bhutan,
27,BIH,Bosnia and Herzegovina,
28,BIZ,Belize,
29,BLR,Belarus,
30,BOH,Czech Republic,Bohemia
31,BOL,Boliva,
32,BOT,Botswana,
33,BRA,Brazil,
34,BRN,Bahrain,
35,BRU,Brunei,
36,BUL,Bulgaria,
37,BUR,Burkina Faso,
38,CAF,Central African Republic,
39,CAM,Cambodia,
40,CAN,Canada,
41,CAY,Cayman Islands,
42,CGO,Republic of Congo,
43,CHA,Chad,
44,CHI,Chile,
45,CHN,China,
46,CIV,Ivory Coast,
47,CMR,Cameroon,
48,COD,Democratic Republic of the Congo,
49,COK,Cook Islands,
50,COL,Colombia,
51,COM,Comoros,
52,CPV,Cape Verde,
53,CRC,Costa Rica,
54,CRO,Croatia,
55,CRT,Greece,Crete
56,CUB,Cuba,
57,CYP,Cyprus,
58,CZE,Czech Republic,
59,DEN,Denmark,
60,DJI,Djibouti,
61,DMA,Dominica,
62,DOM,Dominican Republic,
63,ECU,Ecuador,
64,EGY,Egypt,
65,ERI,Eritrea,
66,ESA,El Salvador,
67,ESP,Spain,
68,EST,Estonia,
69,ETH,Ethiopia,
70,EUN,Russia,
71,FIJ,Fiji,
72,FIN,Finland,
73,FRA,France,
74,FRG,Germany,
75,FSM,Micronesia,
76,GAB,Gabon,
77,GAM,Gambia,
78,GBR,UK,
79,GBS,Guinea-Bissau,
80,GDR,Germany,
81,GEO,Georgia,
82,GEQ,Equatorial Guinea,
83,GER,Germany,
84,GHA,Ghana,
85,GRE,Greece,
86,GRN,Grenada,
87,GUA,Guatemala,
88,GUI,Guinea,
89,GUM,Guam,
90,GUY,Guyana,
91,HAI,Haiti,
92,HKG,China,Hong Kong
93,HON,Honduras,
94,HUN,Hungary,
95,INA,Indonesia,
96,IND,India,
97,IOA,Individual Olympic Athletes,Individual Olympic Athletes
98,IRI,Iran,
99,IRL,Ireland,
100,IRQ,Iraq,
101,ISL,Iceland,
102,ISR,Israel,
103,ISV,"Virgin Islands, US",Virgin Islands
104,ITA,Italy,
105,IVB,"Virgin Islands, British",
106,JAM,Jamaica,
107,JOR,Jordan,
108,JPN,Japan,
109,KAZ,Kazakhstan,
110,KEN,Kenya,
111,KGZ,Kyrgyzstan,
112,KIR,Kiribati,
113,KOR,South Korea,
114,KOS,Kosovo,
115,KSA,Saudi Arabia,
116,KUW,Kuwait,
117,LAO,Laos,
118,LAT,Latvia,
119,LBA,Libya,
120,LBR,Liberia,
121,LCA,Saint Lucia,
122,LES,Lesotho,
123,LIB,Lebanon,
124,LIE,Liechtenstein,
125,LTU,Lithuania,
126,LUX,Luxembourg,
127,MAD,Madagascar,
128,MAL,Malaysia,
129,MAR,Morocco,
130,MAS,Malaysia,
131,MAW,Malawi,
132,MDA,Moldova,
133,MDV,Maldives,
134,MEX,Mexico,
135,MGL,Mongolia,
136,MHL,Marshall Islands,
137,MKD,Macedonia,
138,MLI,Mali,
139,MLT,Malta,
140,MNE,Montenegro,
141,MON,Monaco,
142,MOZ,Mozambique,
143,MRI,Mauritius,
144,MTN,Mauritania,
145,MYA,Myanmar,
146,NAM,Namibia,
147,NBO,Malaysia,North Borneo
148,NCA,Nicaragua,
149,NED,Netherlands,
150,NEP,Nepal,
151,NFL,Canada,Newfoundland
152,NGR,Nigeria,
153,NIG,Niger,
154,NOR,Norway,
155,NRU,Nauru,
156,NZL,New Zealand,
157,OMA,Oman,
158,PAK,Pakistan,
159,PAN,Panama,
160,PAR,Paraguay,
161,PER,Peru,
162,PHI,Philippines,
163,PLE,Palestine,
164,PLW,Palau,
165,PNG,Papua New Guinea,
166,POL,Poland,
167,POR,Portugal,
168,PRK,North Korea,
169,PUR,Puerto Rico,
170,QAT,Qatar,
171,RHO,Zimbabwe,
172,ROT,,Refugee Olympic Team
173,ROU,Romania,
174,RSA,South Africa,
175,RUS,Russia,
176,RWA,Rwanda,
177,SAA,Germany,
178,SAM,Samoa,
179,SCG,Serbia,Serbia and Montenegro
180,SEN,Senegal,
181,SEY,Seychelles,
182,SIN,Singapore,
183,SKN,Saint Kitts,Turks and Caicos Islands
184,SLE,Sierra Leone,
185,SLO,Slovenia,
186,SMR,San Marino,
187,SOL,Solomon Islands,
188,SOM,Somalia,
189,SRB,Serbia,
190,SRI,Sri Lanka,
191,SSD,South Sudan,
192,STP,Sao Tome and Principe,
193,SUD,Sudan,
194,SUI,Switzerland,
195,SUR,Suriname,
196,SVK,Slovakia,
197,SWE,Sweden,
198,SWZ,Swaziland,
199,SYR,Syria,
200,TAN,Tanzania,
201,TCH,Czech Republic,
202,TGA,Tonga,
203,THA,Thailand,
204,TJK,Tajikistan,
205,TKM,Turkmenistan,
206,TLS,Timor-Leste,
207,TOG,Togo,
208,TPE,Taiwan,
209,TTO,Trinidad,Trinidad and Tobago
210,TUN,Tunisia,
211,TUR,Turkey,
212,TUV,,Tuvalu
213,UAE,United Arab Emirates,
214,UAR,Syria,United Arab Republic
215,UGA,Uganda,
216,UKR,Ukraine,
217,UNK,,Unknown
218,URS,Russia,
219,URU,Uruguay,
220,USA,USA,
221,UZB,Uzbekistan,
222,VAN,Vanuatu,
223,VEN,Venezuela,
224,VIE,Vietnam,
225,VIN,Saint Vincent,
226,VNM,Vietnam,
227,WIF,Trinidad,West Indies Federation
228,YAR,Yemen,North Yemen
229,YEM,Yemen,
230,YMD,Yemen,South Yemen
231,YUG,Serbia,Yugoslavia
232,ZAM,Zambia,
233,ZIM,Zimbabwe,
1 NOC region notes
2 0 EOR Refugee NaN
3 1 LBN Lebanon NaN
4 2 SGP Singapore NaN
5 3 ROC Russia NaN
6 4 AFG Afghanistan
7 5 AHO Curacao Netherlands Antilles
8 6 ALB Albania
9 7 ALG Algeria
10 8 AND Andorra
11 9 ANG Angola
12 10 ANT Antigua Antigua and Barbuda
13 11 ANZ Australia Australasia
14 12 ARG Argentina
15 13 ARM Armenia
16 14 ARU Aruba
17 15 ASA American Samoa
18 16 AUS Australia
19 17 AUT Austria
20 18 AZE Azerbaijan
21 19 BAH Bahamas
22 20 BAN Bangladesh
23 21 BAR Barbados
24 22 BDI Burundi
25 23 BEL Belgium
26 24 BEN Benin
27 25 BER Bermuda
28 26 BHU Bhutan
29 27 BIH Bosnia and Herzegovina
30 28 BIZ Belize
31 29 BLR Belarus
32 30 BOH Czech Republic Bohemia
33 31 BOL Boliva
34 32 BOT Botswana
35 33 BRA Brazil
36 34 BRN Bahrain
37 35 BRU Brunei
38 36 BUL Bulgaria
39 37 BUR Burkina Faso
40 38 CAF Central African Republic
41 39 CAM Cambodia
42 40 CAN Canada
43 41 CAY Cayman Islands
44 42 CGO Republic of Congo
45 43 CHA Chad
46 44 CHI Chile
47 45 CHN China
48 46 CIV Ivory Coast
49 47 CMR Cameroon
50 48 COD Democratic Republic of the Congo
51 49 COK Cook Islands
52 50 COL Colombia
53 51 COM Comoros
54 52 CPV Cape Verde
55 53 CRC Costa Rica
56 54 CRO Croatia
57 55 CRT Greece Crete
58 56 CUB Cuba
59 57 CYP Cyprus
60 58 CZE Czech Republic
61 59 DEN Denmark
62 60 DJI Djibouti
63 61 DMA Dominica
64 62 DOM Dominican Republic
65 63 ECU Ecuador
66 64 EGY Egypt
67 65 ERI Eritrea
68 66 ESA El Salvador
69 67 ESP Spain
70 68 EST Estonia
71 69 ETH Ethiopia
72 70 EUN Russia
73 71 FIJ Fiji
74 72 FIN Finland
75 73 FRA France
76 74 FRG Germany
77 75 FSM Micronesia
78 76 GAB Gabon
79 77 GAM Gambia
80 78 GBR UK
81 79 GBS Guinea-Bissau
82 80 GDR Germany
83 81 GEO Georgia
84 82 GEQ Equatorial Guinea
85 83 GER Germany
86 84 GHA Ghana
87 85 GRE Greece
88 86 GRN Grenada
89 87 GUA Guatemala
90 88 GUI Guinea
91 89 GUM Guam
92 90 GUY Guyana
93 91 HAI Haiti
94 92 HKG China Hong Kong
95 93 HON Honduras
96 94 HUN Hungary
97 95 INA Indonesia
98 96 IND India
99 97 IOA Individual Olympic Athletes Individual Olympic Athletes
100 98 IRI Iran
101 99 IRL Ireland
102 100 IRQ Iraq
103 101 ISL Iceland
104 102 ISR Israel
105 103 ISV Virgin Islands, US Virgin Islands
106 104 ITA Italy
107 105 IVB Virgin Islands, British
108 106 JAM Jamaica
109 107 JOR Jordan
110 108 JPN Japan
111 109 KAZ Kazakhstan
112 110 KEN Kenya
113 111 KGZ Kyrgyzstan
114 112 KIR Kiribati
115 113 KOR South Korea
116 114 KOS Kosovo
117 115 KSA Saudi Arabia
118 116 KUW Kuwait
119 117 LAO Laos
120 118 LAT Latvia
121 119 LBA Libya
122 120 LBR Liberia
123 121 LCA Saint Lucia
124 122 LES Lesotho
125 123 LIB Lebanon
126 124 LIE Liechtenstein
127 125 LTU Lithuania
128 126 LUX Luxembourg
129 127 MAD Madagascar
130 128 MAL Malaysia
131 129 MAR Morocco
132 130 MAS Malaysia
133 131 MAW Malawi
134 132 MDA Moldova
135 133 MDV Maldives
136 134 MEX Mexico
137 135 MGL Mongolia
138 136 MHL Marshall Islands
139 137 MKD Macedonia
140 138 MLI Mali
141 139 MLT Malta
142 140 MNE Montenegro
143 141 MON Monaco
144 142 MOZ Mozambique
145 143 MRI Mauritius
146 144 MTN Mauritania
147 145 MYA Myanmar
148 146 NAM Namibia
149 147 NBO Malaysia North Borneo
150 148 NCA Nicaragua
151 149 NED Netherlands
152 150 NEP Nepal
153 151 NFL Canada Newfoundland
154 152 NGR Nigeria
155 153 NIG Niger
156 154 NOR Norway
157 155 NRU Nauru
158 156 NZL New Zealand
159 157 OMA Oman
160 158 PAK Pakistan
161 159 PAN Panama
162 160 PAR Paraguay
163 161 PER Peru
164 162 PHI Philippines
165 163 PLE Palestine
166 164 PLW Palau
167 165 PNG Papua New Guinea
168 166 POL Poland
169 167 POR Portugal
170 168 PRK North Korea
171 169 PUR Puerto Rico
172 170 QAT Qatar
173 171 RHO Zimbabwe
174 172 ROT Refugee Olympic Team
175 173 ROU Romania
176 174 RSA South Africa
177 175 RUS Russia
178 176 RWA Rwanda
179 177 SAA Germany
180 178 SAM Samoa
181 179 SCG Serbia Serbia and Montenegro
182 180 SEN Senegal
183 181 SEY Seychelles
184 182 SIN Singapore
185 183 SKN Saint Kitts Turks and Caicos Islands
186 184 SLE Sierra Leone
187 185 SLO Slovenia
188 186 SMR San Marino
189 187 SOL Solomon Islands
190 188 SOM Somalia
191 189 SRB Serbia
192 190 SRI Sri Lanka
193 191 SSD South Sudan
194 192 STP Sao Tome and Principe
195 193 SUD Sudan
196 194 SUI Switzerland
197 195 SUR Suriname
198 196 SVK Slovakia
199 197 SWE Sweden
200 198 SWZ Swaziland
201 199 SYR Syria
202 200 TAN Tanzania
203 201 TCH Czech Republic
204 202 TGA Tonga
205 203 THA Thailand
206 204 TJK Tajikistan
207 205 TKM Turkmenistan
208 206 TLS Timor-Leste
209 207 TOG Togo
210 208 TPE Taiwan
211 209 TTO Trinidad Trinidad and Tobago
212 210 TUN Tunisia
213 211 TUR Turkey
214 212 TUV Tuvalu
215 213 UAE United Arab Emirates
216 214 UAR Syria United Arab Republic
217 215 UGA Uganda
218 216 UKR Ukraine
219 217 UNK Unknown
220 218 URS Russia
221 219 URU Uruguay
222 220 USA USA
223 221 UZB Uzbekistan
224 222 VAN Vanuatu
225 223 VEN Venezuela
226 224 VIE Vietnam
227 225 VIN Saint Vincent
228 226 VNM Vietnam
229 227 WIF Trinidad West Indies Federation
230 228 YAR Yemen North Yemen
231 229 YEM Yemen
232 230 YMD Yemen South Yemen
233 231 YUG Serbia Yugoslavia
234 232 ZAM Zambia
235 233 ZIM Zimbabwe