Skip to content

Commit 4b99921

Browse files
committed
Solution file didn't show solution
1 parent 349a658 commit 4b99921

File tree

1 file changed

+226
-10
lines changed

1 file changed

+226
-10
lines changed

08_Creating_Series_and_DataFrames/Pokemon/Solutions.ipynb

+226-10
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
{
2424
"cell_type": "code",
25-
"execution_count": null,
25+
"execution_count": 2,
2626
"metadata": {
2727
"collapsed": false
2828
},
@@ -38,7 +38,7 @@
3838
},
3939
{
4040
"cell_type": "code",
41-
"execution_count": null,
41+
"execution_count": 3,
4242
"metadata": {
4343
"collapsed": true
4444
},
@@ -54,11 +54,76 @@
5454
},
5555
{
5656
"cell_type": "code",
57-
"execution_count": null,
57+
"execution_count": 5,
5858
"metadata": {
5959
"collapsed": false
6060
},
61-
"outputs": [],
61+
"outputs": [
62+
{
63+
"data": {
64+
"text/html": [
65+
"<div>\n",
66+
"<table border=\"1\" class=\"dataframe\">\n",
67+
" <thead>\n",
68+
" <tr style=\"text-align: right;\">\n",
69+
" <th></th>\n",
70+
" <th>evolution</th>\n",
71+
" <th>hp</th>\n",
72+
" <th>name</th>\n",
73+
" <th>pokedex</th>\n",
74+
" <th>type</th>\n",
75+
" </tr>\n",
76+
" </thead>\n",
77+
" <tbody>\n",
78+
" <tr>\n",
79+
" <th>0</th>\n",
80+
" <td>Ivysaur</td>\n",
81+
" <td>45</td>\n",
82+
" <td>Bulbasaur</td>\n",
83+
" <td>yes</td>\n",
84+
" <td>grass</td>\n",
85+
" </tr>\n",
86+
" <tr>\n",
87+
" <th>1</th>\n",
88+
" <td>Charmeleon</td>\n",
89+
" <td>39</td>\n",
90+
" <td>Charmander</td>\n",
91+
" <td>no</td>\n",
92+
" <td>fire</td>\n",
93+
" </tr>\n",
94+
" <tr>\n",
95+
" <th>2</th>\n",
96+
" <td>Wartortle</td>\n",
97+
" <td>44</td>\n",
98+
" <td>Squirtle</td>\n",
99+
" <td>yes</td>\n",
100+
" <td>water</td>\n",
101+
" </tr>\n",
102+
" <tr>\n",
103+
" <th>3</th>\n",
104+
" <td>Metapod</td>\n",
105+
" <td>45</td>\n",
106+
" <td>Caterpie</td>\n",
107+
" <td>no</td>\n",
108+
" <td>bug</td>\n",
109+
" </tr>\n",
110+
" </tbody>\n",
111+
"</table>\n",
112+
"</div>"
113+
],
114+
"text/plain": [
115+
" evolution hp name pokedex type\n",
116+
"0 Ivysaur 45 Bulbasaur yes grass\n",
117+
"1 Charmeleon 39 Charmander no fire\n",
118+
"2 Wartortle 44 Squirtle yes water\n",
119+
"3 Metapod 45 Caterpie no bug"
120+
]
121+
},
122+
"execution_count": 5,
123+
"metadata": {},
124+
"output_type": "execute_result"
125+
}
126+
],
62127
"source": []
63128
},
64129
{
@@ -70,11 +135,76 @@
70135
},
71136
{
72137
"cell_type": "code",
73-
"execution_count": null,
138+
"execution_count": 8,
74139
"metadata": {
75140
"collapsed": false
76141
},
77-
"outputs": [],
142+
"outputs": [
143+
{
144+
"data": {
145+
"text/html": [
146+
"<div>\n",
147+
"<table border=\"1\" class=\"dataframe\">\n",
148+
" <thead>\n",
149+
" <tr style=\"text-align: right;\">\n",
150+
" <th></th>\n",
151+
" <th>name</th>\n",
152+
" <th>type</th>\n",
153+
" <th>hp</th>\n",
154+
" <th>evolution</th>\n",
155+
" <th>pokedex</th>\n",
156+
" </tr>\n",
157+
" </thead>\n",
158+
" <tbody>\n",
159+
" <tr>\n",
160+
" <th>0</th>\n",
161+
" <td>Bulbasaur</td>\n",
162+
" <td>grass</td>\n",
163+
" <td>45</td>\n",
164+
" <td>Ivysaur</td>\n",
165+
" <td>yes</td>\n",
166+
" </tr>\n",
167+
" <tr>\n",
168+
" <th>1</th>\n",
169+
" <td>Charmander</td>\n",
170+
" <td>fire</td>\n",
171+
" <td>39</td>\n",
172+
" <td>Charmeleon</td>\n",
173+
" <td>no</td>\n",
174+
" </tr>\n",
175+
" <tr>\n",
176+
" <th>2</th>\n",
177+
" <td>Squirtle</td>\n",
178+
" <td>water</td>\n",
179+
" <td>44</td>\n",
180+
" <td>Wartortle</td>\n",
181+
" <td>yes</td>\n",
182+
" </tr>\n",
183+
" <tr>\n",
184+
" <th>3</th>\n",
185+
" <td>Caterpie</td>\n",
186+
" <td>bug</td>\n",
187+
" <td>45</td>\n",
188+
" <td>Metapod</td>\n",
189+
" <td>no</td>\n",
190+
" </tr>\n",
191+
" </tbody>\n",
192+
"</table>\n",
193+
"</div>"
194+
],
195+
"text/plain": [
196+
" name type hp evolution pokedex\n",
197+
"0 Bulbasaur grass 45 Ivysaur yes\n",
198+
"1 Charmander fire 39 Charmeleon no\n",
199+
"2 Squirtle water 44 Wartortle yes\n",
200+
"3 Caterpie bug 45 Metapod no"
201+
]
202+
},
203+
"execution_count": 8,
204+
"metadata": {},
205+
"output_type": "execute_result"
206+
}
207+
],
78208
"source": []
79209
},
80210
{
@@ -86,11 +216,81 @@
86216
},
87217
{
88218
"cell_type": "code",
89-
"execution_count": null,
219+
"execution_count": 13,
90220
"metadata": {
91221
"collapsed": false
92222
},
93-
"outputs": [],
223+
"outputs": [
224+
{
225+
"data": {
226+
"text/html": [
227+
"<div>\n",
228+
"<table border=\"1\" class=\"dataframe\">\n",
229+
" <thead>\n",
230+
" <tr style=\"text-align: right;\">\n",
231+
" <th></th>\n",
232+
" <th>name</th>\n",
233+
" <th>type</th>\n",
234+
" <th>hp</th>\n",
235+
" <th>evolution</th>\n",
236+
" <th>pokedex</th>\n",
237+
" <th>place</th>\n",
238+
" </tr>\n",
239+
" </thead>\n",
240+
" <tbody>\n",
241+
" <tr>\n",
242+
" <th>0</th>\n",
243+
" <td>Bulbasaur</td>\n",
244+
" <td>grass</td>\n",
245+
" <td>45</td>\n",
246+
" <td>Ivysaur</td>\n",
247+
" <td>yes</td>\n",
248+
" <td>park</td>\n",
249+
" </tr>\n",
250+
" <tr>\n",
251+
" <th>1</th>\n",
252+
" <td>Charmander</td>\n",
253+
" <td>fire</td>\n",
254+
" <td>39</td>\n",
255+
" <td>Charmeleon</td>\n",
256+
" <td>no</td>\n",
257+
" <td>street</td>\n",
258+
" </tr>\n",
259+
" <tr>\n",
260+
" <th>2</th>\n",
261+
" <td>Squirtle</td>\n",
262+
" <td>water</td>\n",
263+
" <td>44</td>\n",
264+
" <td>Wartortle</td>\n",
265+
" <td>yes</td>\n",
266+
" <td>lake</td>\n",
267+
" </tr>\n",
268+
" <tr>\n",
269+
" <th>3</th>\n",
270+
" <td>Caterpie</td>\n",
271+
" <td>bug</td>\n",
272+
" <td>45</td>\n",
273+
" <td>Metapod</td>\n",
274+
" <td>no</td>\n",
275+
" <td>forest</td>\n",
276+
" </tr>\n",
277+
" </tbody>\n",
278+
"</table>\n",
279+
"</div>"
280+
],
281+
"text/plain": [
282+
" name type hp evolution pokedex place\n",
283+
"0 Bulbasaur grass 45 Ivysaur yes park\n",
284+
"1 Charmander fire 39 Charmeleon no street\n",
285+
"2 Squirtle water 44 Wartortle yes lake\n",
286+
"3 Caterpie bug 45 Metapod no forest"
287+
]
288+
},
289+
"execution_count": 13,
290+
"metadata": {},
291+
"output_type": "execute_result"
292+
}
293+
],
94294
"source": []
95295
},
96296
{
@@ -102,11 +302,27 @@
102302
},
103303
{
104304
"cell_type": "code",
105-
"execution_count": null,
305+
"execution_count": 9,
106306
"metadata": {
107307
"collapsed": false
108308
},
109-
"outputs": [],
309+
"outputs": [
310+
{
311+
"data": {
312+
"text/plain": [
313+
"name object\n",
314+
"type object\n",
315+
"hp int64\n",
316+
"evolution object\n",
317+
"pokedex object\n",
318+
"dtype: object"
319+
]
320+
},
321+
"execution_count": 9,
322+
"metadata": {},
323+
"output_type": "execute_result"
324+
}
325+
],
110326
"source": []
111327
},
112328
{

0 commit comments

Comments
 (0)