test
This commit is contained in:
parent
fa4a90c915
commit
8e211d4e4d
14
lab2.ipynb
14
lab2.ipynb
@ -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"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
BIN
olympics-124-years-datasettill-2020.zip
Normal file
BIN
olympics-124-years-datasettill-2020.zip
Normal file
Binary file not shown.
237674
olympics-124-years-datasettill-2020/Athletes_summer_games.csv
Normal file
237674
olympics-124-years-datasettill-2020/Athletes_summer_games.csv
Normal file
File diff suppressed because it is too large
Load Diff
48565
olympics-124-years-datasettill-2020/Athletes_winter_games.csv
Normal file
48565
olympics-124-years-datasettill-2020/Athletes_winter_games.csv
Normal file
File diff suppressed because it is too large
Load Diff
235
olympics-124-years-datasettill-2020/regions.csv
Normal file
235
olympics-124-years-datasettill-2020/regions.csv
Normal 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,
|
|
Loading…
Reference in New Issue
Block a user