Skip to content

Commit 1a4ed90

Browse files
committed
add data set
1 parent 1fa2abf commit 1a4ed90

6 files changed

+3028
-59
lines changed
Binary file not shown.

Lesson01/.ipynb_checkpoints/Chapter_1_Case_Study-checkpoint.ipynb

+16-16
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
{
1616
"cell_type": "code",
17-
"execution_count": 1,
17+
"execution_count": 5,
1818
"metadata": {},
1919
"outputs": [],
2020
"source": [
@@ -30,7 +30,7 @@
3030
},
3131
{
3232
"cell_type": "code",
33-
"execution_count": 2,
33+
"execution_count": 6,
3434
"metadata": {},
3535
"outputs": [],
3636
"source": [
@@ -39,7 +39,7 @@
3939
},
4040
{
4141
"cell_type": "code",
42-
"execution_count": 3,
42+
"execution_count": 7,
4343
"metadata": {},
4444
"outputs": [
4545
{
@@ -48,7 +48,7 @@
4848
"(30000, 25)"
4949
]
5050
},
51-
"execution_count": 3,
51+
"execution_count": 7,
5252
"metadata": {},
5353
"output_type": "execute_result"
5454
}
@@ -73,7 +73,7 @@
7373
},
7474
{
7575
"cell_type": "code",
76-
"execution_count": 4,
76+
"execution_count": 8,
7777
"metadata": {},
7878
"outputs": [
7979
{
@@ -87,7 +87,7 @@
8787
" dtype='object')"
8888
]
8989
},
90-
"execution_count": 4,
90+
"execution_count": 8,
9191
"metadata": {},
9292
"output_type": "execute_result"
9393
}
@@ -98,7 +98,7 @@
9898
},
9999
{
100100
"cell_type": "code",
101-
"execution_count": 7,
101+
"execution_count": 9,
102102
"metadata": {},
103103
"outputs": [
104104
{
@@ -303,7 +303,7 @@
303303
"[5 rows x 25 columns]"
304304
]
305305
},
306-
"execution_count": 7,
306+
"execution_count": 9,
307307
"metadata": {},
308308
"output_type": "execute_result"
309309
}
@@ -314,42 +314,42 @@
314314
},
315315
{
316316
"cell_type": "code",
317-
"execution_count": 6,
317+
"execution_count": 10,
318318
"metadata": {},
319319
"outputs": [
320320
{
321321
"data": {
322322
"text/plain": [
323-
"29687"
323+
"(30000, 25)"
324324
]
325325
},
326-
"execution_count": 6,
326+
"execution_count": 10,
327327
"metadata": {},
328328
"output_type": "execute_result"
329329
}
330330
],
331331
"source": [
332-
"df['ID'].nunique()"
332+
"df.shape"
333333
]
334334
},
335335
{
336336
"cell_type": "code",
337-
"execution_count": 5,
337+
"execution_count": 11,
338338
"metadata": {},
339339
"outputs": [
340340
{
341341
"data": {
342342
"text/plain": [
343-
"(30000, 25)"
343+
"29687"
344344
]
345345
},
346-
"execution_count": 5,
346+
"execution_count": 11,
347347
"metadata": {},
348348
"output_type": "execute_result"
349349
}
350350
],
351351
"source": [
352-
"df.shape"
352+
"df['ID'].nunique()"
353353
]
354354
},
355355
{

Lesson01/Chapter_1_Case_Study.ipynb

+16-16
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
{
1616
"cell_type": "code",
17-
"execution_count": 1,
17+
"execution_count": 5,
1818
"metadata": {},
1919
"outputs": [],
2020
"source": [
@@ -30,7 +30,7 @@
3030
},
3131
{
3232
"cell_type": "code",
33-
"execution_count": 2,
33+
"execution_count": 6,
3434
"metadata": {},
3535
"outputs": [],
3636
"source": [
@@ -39,7 +39,7 @@
3939
},
4040
{
4141
"cell_type": "code",
42-
"execution_count": 3,
42+
"execution_count": 7,
4343
"metadata": {},
4444
"outputs": [
4545
{
@@ -48,7 +48,7 @@
4848
"(30000, 25)"
4949
]
5050
},
51-
"execution_count": 3,
51+
"execution_count": 7,
5252
"metadata": {},
5353
"output_type": "execute_result"
5454
}
@@ -73,7 +73,7 @@
7373
},
7474
{
7575
"cell_type": "code",
76-
"execution_count": 4,
76+
"execution_count": 8,
7777
"metadata": {},
7878
"outputs": [
7979
{
@@ -87,7 +87,7 @@
8787
" dtype='object')"
8888
]
8989
},
90-
"execution_count": 4,
90+
"execution_count": 8,
9191
"metadata": {},
9292
"output_type": "execute_result"
9393
}
@@ -98,7 +98,7 @@
9898
},
9999
{
100100
"cell_type": "code",
101-
"execution_count": 7,
101+
"execution_count": 9,
102102
"metadata": {},
103103
"outputs": [
104104
{
@@ -303,7 +303,7 @@
303303
"[5 rows x 25 columns]"
304304
]
305305
},
306-
"execution_count": 7,
306+
"execution_count": 9,
307307
"metadata": {},
308308
"output_type": "execute_result"
309309
}
@@ -314,42 +314,42 @@
314314
},
315315
{
316316
"cell_type": "code",
317-
"execution_count": 6,
317+
"execution_count": 10,
318318
"metadata": {},
319319
"outputs": [
320320
{
321321
"data": {
322322
"text/plain": [
323-
"29687"
323+
"(30000, 25)"
324324
]
325325
},
326-
"execution_count": 6,
326+
"execution_count": 10,
327327
"metadata": {},
328328
"output_type": "execute_result"
329329
}
330330
],
331331
"source": [
332-
"df['ID'].nunique()"
332+
"df.shape"
333333
]
334334
},
335335
{
336336
"cell_type": "code",
337-
"execution_count": 5,
337+
"execution_count": 11,
338338
"metadata": {},
339339
"outputs": [
340340
{
341341
"data": {
342342
"text/plain": [
343-
"(30000, 25)"
343+
"29687"
344344
]
345345
},
346-
"execution_count": 5,
346+
"execution_count": 11,
347347
"metadata": {},
348348
"output_type": "execute_result"
349349
}
350350
],
351351
"source": [
352-
"df.shape"
352+
"df['ID'].nunique()"
353353
]
354354
},
355355
{

Lesson02/Chapter_2_Case_Study.ipynb

+26-27
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
"#Next line helps with rendering plots\n",
2020
"%matplotlib inline\n",
2121
"import matplotlib as mpl #add'l plotting functionality\n",
22-
"mpl.rcParams['figure.dpi'] = 400 #high res figures\n",
23-
"import seaborn as sns #a plotting package with some fancier methods"
22+
"mpl.rcParams['figure.dpi'] = 400 #high res figures"
2423
]
2524
},
2625
{
@@ -511,7 +510,7 @@
511510
{
512511
"data": {
513512
"text/plain": [
514-
"<matplotlib.axes._subplots.AxesSubplot at 0x102d965c0>"
513+
"<matplotlib.axes._subplots.AxesSubplot at 0x119d78908>"
515514
]
516515
},
517516
"execution_count": 10,
@@ -687,12 +686,12 @@
687686
{
688687
"data": {
689688
"text/plain": [
690-
"array([[<matplotlib.axes._subplots.AxesSubplot object at 0x1135ec2b0>,\n",
691-
" <matplotlib.axes._subplots.AxesSubplot object at 0x11360a9e8>,\n",
692-
" <matplotlib.axes._subplots.AxesSubplot object at 0x1a1626fef0>],\n",
693-
" [<matplotlib.axes._subplots.AxesSubplot object at 0x1a1629f4a8>,\n",
694-
" <matplotlib.axes._subplots.AxesSubplot object at 0x1a162c7a20>,\n",
695-
" <matplotlib.axes._subplots.AxesSubplot object at 0x1a162eff98>]],\n",
689+
"array([[<matplotlib.axes._subplots.AxesSubplot object at 0x11950dda0>,\n",
690+
" <matplotlib.axes._subplots.AxesSubplot object at 0x119572400>,\n",
691+
" <matplotlib.axes._subplots.AxesSubplot object at 0x11a45b630>],\n",
692+
" [<matplotlib.axes._subplots.AxesSubplot object at 0x11a484898>,\n",
693+
" <matplotlib.axes._subplots.AxesSubplot object at 0x11a4abe10>,\n",
694+
" <matplotlib.axes._subplots.AxesSubplot object at 0x11a4dd3c8>]],\n",
696695
" dtype=object)"
697696
]
698697
},
@@ -963,12 +962,12 @@
963962
{
964963
"data": {
965964
"text/plain": [
966-
"array([[<matplotlib.axes._subplots.AxesSubplot object at 0x10384bd68>,\n",
967-
" <matplotlib.axes._subplots.AxesSubplot object at 0x1a16616278>,\n",
968-
" <matplotlib.axes._subplots.AxesSubplot object at 0x1a166394e0>],\n",
969-
" [<matplotlib.axes._subplots.AxesSubplot object at 0x1a16661748>,\n",
970-
" <matplotlib.axes._subplots.AxesSubplot object at 0x1a16f039b0>,\n",
971-
" <matplotlib.axes._subplots.AxesSubplot object at 0x1a16f2dc18>]],\n",
965+
"array([[<matplotlib.axes._subplots.AxesSubplot object at 0x1096e5160>,\n",
966+
" <matplotlib.axes._subplots.AxesSubplot object at 0x11a7f2780>,\n",
967+
" <matplotlib.axes._subplots.AxesSubplot object at 0x11a8189b0>],\n",
968+
" [<matplotlib.axes._subplots.AxesSubplot object at 0x11a840c18>,\n",
969+
" <matplotlib.axes._subplots.AxesSubplot object at 0x11b0e3e80>,\n",
970+
" <matplotlib.axes._subplots.AxesSubplot object at 0x11b116128>]],\n",
972971
" dtype=object)"
973972
]
974973
},
@@ -1143,12 +1142,12 @@
11431142
{
11441143
"data": {
11451144
"text/plain": [
1146-
"array([[<matplotlib.axes._subplots.AxesSubplot object at 0x1a1a5800b8>,\n",
1147-
" <matplotlib.axes._subplots.AxesSubplot object at 0x1a1b227e10>,\n",
1148-
" <matplotlib.axes._subplots.AxesSubplot object at 0x1a1b24a0b8>],\n",
1149-
" [<matplotlib.axes._subplots.AxesSubplot object at 0x1a1b274320>,\n",
1150-
" <matplotlib.axes._subplots.AxesSubplot object at 0x1a1b29c588>,\n",
1151-
" <matplotlib.axes._subplots.AxesSubplot object at 0x1a1b2c47f0>]],\n",
1145+
"array([[<matplotlib.axes._subplots.AxesSubplot object at 0x11b175ac8>,\n",
1146+
" <matplotlib.axes._subplots.AxesSubplot object at 0x11f404550>,\n",
1147+
" <matplotlib.axes._subplots.AxesSubplot object at 0x11f4257b8>],\n",
1148+
" [<matplotlib.axes._subplots.AxesSubplot object at 0x11f44da20>,\n",
1149+
" <matplotlib.axes._subplots.AxesSubplot object at 0x11f476c88>,\n",
1150+
" <matplotlib.axes._subplots.AxesSubplot object at 0x11f49fef0>]],\n",
11521151
" dtype=object)"
11531152
]
11541153
},
@@ -1216,12 +1215,12 @@
12161215
{
12171216
"data": {
12181217
"text/plain": [
1219-
"array([[<matplotlib.axes._subplots.AxesSubplot object at 0x1a1b40bb70>,\n",
1220-
" <matplotlib.axes._subplots.AxesSubplot object at 0x1a1c51a438>,\n",
1221-
" <matplotlib.axes._subplots.AxesSubplot object at 0x1a1c5429b0>],\n",
1222-
" [<matplotlib.axes._subplots.AxesSubplot object at 0x1a1c56bf28>,\n",
1223-
" <matplotlib.axes._subplots.AxesSubplot object at 0x1a1c59b4e0>,\n",
1224-
" <matplotlib.axes._subplots.AxesSubplot object at 0x1a1c5bfa58>]],\n",
1218+
"array([[<matplotlib.axes._subplots.AxesSubplot object at 0x11f64c9b0>,\n",
1219+
" <matplotlib.axes._subplots.AxesSubplot object at 0x11f60bef0>,\n",
1220+
" <matplotlib.axes._subplots.AxesSubplot object at 0x120732278>],\n",
1221+
" [<matplotlib.axes._subplots.AxesSubplot object at 0x1207597f0>,\n",
1222+
" <matplotlib.axes._subplots.AxesSubplot object at 0x120782d68>,\n",
1223+
" <matplotlib.axes._subplots.AxesSubplot object at 0x1207b0320>]],\n",
12251224
" dtype=object)"
12261225
]
12271226
},

0 commit comments

Comments
 (0)