Skip to content

Commit ba86977

Browse files
committed
Update notebooks
1 parent b8a18d3 commit ba86977

10 files changed

Lines changed: 300 additions & 61 deletions

File tree

chapters/01/index.html

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<div class="row mt-3 mb-3">
4747
<div class="col-sm">
4848

49-
<a class="btn btn-outline-primary btn-sm" href="../12_Bulk/"><i class="fa fa-backward fa-fw" aria-hidden="true"></i>&nbsp;Previous</a>
49+
<a class="btn btn-outline-primary btn-sm" href="../12/"><i class="fa fa-backward fa-fw" aria-hidden="true"></i>&nbsp;Previous</a>
5050

5151

5252
<span class="float-right"><a class="btn btn-outline-primary btn-sm" href="../02/">Next&nbsp;<i class="fa fa-forward fa-fw" aria-hidden="true"></i></a></span>
@@ -60,15 +60,7 @@
6060
</div>
6161
<div class="inner_cell">
6262
<div class="text_cell_render border-box-sizing rendered_html">
63-
<h1 id="Let's-Create-a-Database!">Let's Create a Database!<a class="anchor-link" href="#Let's-Create-a-Database!">&#182;</a></h1>
64-
</div>
65-
</div>
66-
</div>
67-
<div class="cell border-box-sizing text_cell rendered"><div class="prompt input_prompt">
68-
</div>
69-
<div class="inner_cell">
70-
<div class="text_cell_render border-box-sizing rendered_html">
71-
<p>For this tutorial, we'll use the <a href="http://www.sqlalchemy.org/">sqlalchemy</a> Python library to communicate with a database.</p>
63+
<h1 id="Create-A-Database">Create A Database<a class="anchor-link" href="#Create-A-Database">&#182;</a></h1><p>For this tutorial, we'll use the <a href="http://www.sqlalchemy.org/">sqlalchemy</a> Python library to communicate with a database.</p>
7264
<p>Let's import it:</p>
7365

7466
</div>
@@ -156,7 +148,7 @@ <h1 id="Let's-Create-a-Database!">Let's Create a Database!<a class="anchor-link"
156148
<div class="row mt-3 mb-3">
157149
<div class="col-sm">
158150

159-
<a class="btn btn-outline-primary btn-sm" href="../12_Bulk/"><i class="fa fa-backward fa-fw" aria-hidden="true"></i>&nbsp;Previous</a>
151+
<a class="btn btn-outline-primary btn-sm" href="../12/"><i class="fa fa-backward fa-fw" aria-hidden="true"></i>&nbsp;Previous</a>
160152

161153

162154
<span class="float-right"><a class="btn btn-outline-primary btn-sm" href="../02/">Next&nbsp;<i class="fa fa-forward fa-fw" aria-hidden="true"></i></a></span>

chapters/02/index.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,7 @@
6060
</div>
6161
<div class="inner_cell">
6262
<div class="text_cell_render border-box-sizing rendered_html">
63-
<h1 id="Create-a-Table">Create a Table<a class="anchor-link" href="#Create-a-Table">&#182;</a></h1>
64-
</div>
65-
</div>
66-
</div>
67-
<div class="cell border-box-sizing text_cell rendered"><div class="prompt input_prompt">
68-
</div>
69-
<div class="inner_cell">
70-
<div class="text_cell_render border-box-sizing rendered_html">
71-
<p>Before we can add any data to our database, we'll need to create a table in which to hold it.</p>
63+
<h1 id="Create-a-Table">Create a Table<a class="anchor-link" href="#Create-a-Table">&#182;</a></h1><p>Before we can add any data to our database, we'll need to create a table in which to hold it.</p>
7264
<p>First, let's connect to our database:</p>
7365

7466
</div>

chapters/03/index.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,7 @@
6060
</div>
6161
<div class="inner_cell">
6262
<div class="text_cell_render border-box-sizing rendered_html">
63-
<h1 id="Add-Some-Data">Add Some Data<a class="anchor-link" href="#Add-Some-Data">&#182;</a></h1>
64-
</div>
65-
</div>
66-
</div>
67-
<div class="cell border-box-sizing text_cell rendered"><div class="prompt input_prompt">
68-
</div>
69-
<div class="inner_cell">
70-
<div class="text_cell_render border-box-sizing rendered_html">
71-
<p>Now that we have a table, it's time to add some data into it.</p>
63+
<h1 id="Add-Some-Data">Add Some Data<a class="anchor-link" href="#Add-Some-Data">&#182;</a></h1><p>Now that we have a table, it's time to add some data into it.</p>
7264
<p>First, let's connect to our database:</p>
7365

7466
</div>

chapters/04/index.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,7 @@
6060
</div>
6161
<div class="inner_cell">
6262
<div class="text_cell_render border-box-sizing rendered_html">
63-
<h1 id="Look-at-What-we-Did!">Look at What we Did!<a class="anchor-link" href="#Look-at-What-we-Did!">&#182;</a></h1>
64-
</div>
65-
</div>
66-
</div>
67-
<div class="cell border-box-sizing text_cell rendered"><div class="prompt input_prompt">
68-
</div>
69-
<div class="inner_cell">
70-
<div class="text_cell_render border-box-sizing rendered_html">
71-
<p>So far, we have created a table and inserted three records into it.</p>
63+
<h1 id="Look-At-The-Data">Look At The Data<a class="anchor-link" href="#Look-At-The-Data">&#182;</a></h1><p>So far, we have created a table and inserted three records into it.</p>
7264
<p>To see the results, we've had to install a separate piece of software. It would be much nicer to use Python to show us the content of our database.</p>
7365
<p>Let's connect to our database:</p>
7466

chapters/05/index.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,7 @@
6060
</div>
6161
<div class="inner_cell">
6262
<div class="text_cell_render border-box-sizing rendered_html">
63-
<h1 id="Let's-Change-What-We-Added">Let's Change What We Added<a class="anchor-link" href="#Let's-Change-What-We-Added">&#182;</a></h1>
64-
</div>
65-
</div>
66-
</div>
67-
<div class="cell border-box-sizing text_cell rendered"><div class="prompt input_prompt">
68-
</div>
69-
<div class="inner_cell">
70-
<div class="text_cell_render border-box-sizing rendered_html">
71-
<p>To change records in a table, we use an 'UPDATE' statement.</p>
63+
<h1 id="Change-The-Data">Change The Data<a class="anchor-link" href="#Change-The-Data">&#182;</a></h1><p>To change records in a table, we use an 'UPDATE' statement.</p>
7264
<p>First, let's connect to our database and remind ourselves what records we have created so far:</p>
7365

7466
</div>

chapters/06/index.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,7 @@
6060
</div>
6161
<div class="inner_cell">
6262
<div class="text_cell_render border-box-sizing rendered_html">
63-
<h1 id="Delete-Some-Data">Delete Some Data<a class="anchor-link" href="#Delete-Some-Data">&#182;</a></h1>
64-
</div>
65-
</div>
66-
</div>
67-
<div class="cell border-box-sizing text_cell rendered"><div class="prompt input_prompt">
68-
</div>
69-
<div class="inner_cell">
70-
<div class="text_cell_render border-box-sizing rendered_html">
71-
<p>We have created a table, inserted three records into it and made changes to one of those records.</p>
63+
<h1 id="Delete-Some-Data">Delete Some Data<a class="anchor-link" href="#Delete-Some-Data">&#182;</a></h1><p>We have created a table, inserted three records into it and made changes to one of those records.</p>
7264
<p>What if we want to delete a record completely?</p>
7365
<p>Lets's connect to our database and remind ourselves of its content:</p>
7466

chapters/11/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<a class="btn btn-outline-primary btn-sm" href="../10/"><i class="fa fa-backward fa-fw" aria-hidden="true"></i>&nbsp;Previous</a>
5050

5151

52-
<span class="float-right"><a class="btn btn-outline-primary btn-sm" href="../12_Bulk/">Next&nbsp;<i class="fa fa-forward fa-fw" aria-hidden="true"></i></a></span>
52+
<span class="float-right"><a class="btn btn-outline-primary btn-sm" href="../12/">Next&nbsp;<i class="fa fa-forward fa-fw" aria-hidden="true"></i></a></span>
5353

5454
</div>
5555
</div>
@@ -75,7 +75,7 @@ <h1 id="Create-A-View">Create A View<a class="anchor-link" href="#Create-A-View"
7575
<a class="btn btn-outline-primary btn-sm" href="../10/"><i class="fa fa-backward fa-fw" aria-hidden="true"></i>&nbsp;Previous</a>
7676

7777

78-
<span class="float-right"><a class="btn btn-outline-primary btn-sm" href="../12_Bulk/">Next&nbsp;<i class="fa fa-forward fa-fw" aria-hidden="true"></i></a></span>
78+
<span class="float-right"><a class="btn btn-outline-primary btn-sm" href="../12/">Next&nbsp;<i class="fa fa-forward fa-fw" aria-hidden="true"></i></a></span>
7979

8080
</div>
8181
</div>

0 commit comments

Comments
 (0)