Skip to content

Commit 8be73e8

Browse files
committed
code updated
1 parent 40acd11 commit 8be73e8

File tree

3 files changed

+74
-39
lines changed

3 files changed

+74
-39
lines changed

Lesson01/Exercise07.ipynb

+3-16
Original file line numberDiff line numberDiff line change
@@ -69,24 +69,11 @@
6969
},
7070
{
7171
"cell_type": "code",
72-
"execution_count": 6,
72+
"execution_count": 1,
7373
"metadata": {},
74-
"outputs": [
75-
{
76-
"name": "stdout",
77-
"output_type": "stream",
78-
"text": [
79-
" carat cut color clarity depth table price x y z\n",
80-
"0 0.23 Ideal E SI2 61.5 55.0 326 3.95 3.98 2.43\n",
81-
"1 0.21 Premium E SI1 59.8 61.0 326 3.89 3.84 2.31\n",
82-
"2 0.23 Good E VS1 56.9 65.0 327 4.05 4.07 2.31\n",
83-
"3 0.29 Premium I VS2 62.4 58.0 334 4.20 4.23 2.63\n",
84-
"4 0.31 Good J SI2 63.3 58.0 335 4.34 4.35 2.75\n"
85-
]
86-
}
87-
],
74+
"outputs": [],
8875
"source": [
89-
"print(diamonds_df.head())"
76+
"#Find the diamonds_modified.csv in the src directory"
9077
]
9178
},
9279
{

Lesson03/Activity03.ipynb

+60-22
Large diffs are not rendered by default.

Lesson03/Exercise24.ipynb

+11-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@
377377
},
378378
{
379379
"cell_type": "code",
380-
"execution_count": 3,
380+
"execution_count": 4,
381381
"metadata": {},
382382
"outputs": [],
383383
"source": [
@@ -405,6 +405,16 @@
405405
"slider.on_change('value', update_plot)"
406406
]
407407
},
408+
{
409+
"cell_type": "code",
410+
"execution_count": 5,
411+
"metadata": {},
412+
"outputs": [],
413+
"source": [
414+
"layout = row(widgetbox(slider), plot)\n",
415+
"curdoc().add_root(layout)"
416+
]
417+
},
408418
{
409419
"cell_type": "code",
410420
"execution_count": null,

0 commit comments

Comments
 (0)