Skip to content

Commit b1fbf30

Browse files
committed
ch02: created notebook
1 parent 0e53341 commit b1fbf30

File tree

4 files changed

+2221
-4
lines changed

4 files changed

+2221
-4
lines changed

01-data-model/data-model.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"source": [
77
"# Chapter 1 — The Python Data Model\n",
88
"\n",
9-
"**Sections with examples:**\n",
9+
"**Sections code snippets in this chapter:**\n",
1010
"\n",
1111
"* [A Pythonic Card Deck](#A-Pythonic-Card-Deck)\n",
1212
"* [Emulating Numeric Types](#Emulating-Numeric-Types)"
@@ -23,7 +23,7 @@
2323
"cell_type": "markdown",
2424
"metadata": {},
2525
"source": [
26-
"### Example 1-1. A deck as a sequence of playing cards"
26+
"#### Example 1-1. A deck as a sequence of playing cards"
2727
]
2828
},
2929
{
@@ -140,7 +140,7 @@
140140
{
141141
"data": {
142142
"text/plain": [
143-
"Card(rank='2', suit='hearts')"
143+
"Card(rank='Q', suit='clubs')"
144144
]
145145
},
146146
"execution_count": 6,
@@ -463,7 +463,7 @@
463463
"cell_type": "markdown",
464464
"metadata": {},
465465
"source": [
466-
"### Example 1-2. A simple two-dimensional vector class"
466+
"#### Example 1-2. A simple two-dimensional vector class"
467467
]
468468
},
469469
{

02-array-seq/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
floats-*.txt
2+
floats-*.npy
3+
floats.bin

0 commit comments

Comments
 (0)