Skip to content

Commit 3f31127

Browse files
author
ci-doc-deploy-bot
committed
[skip ci] docs build of 17210ca
1 parent 005e8ae commit 3f31127

20 files changed

+484
-527
lines changed

_sources/content/mooreslaw-tutorial.ipynb

Lines changed: 48 additions & 48 deletions
Large diffs are not rendered by default.

_sources/content/pairing.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "b1b6c4f8",
5+
"id": "cf600e9b",
66
"metadata": {},
77
"source": [
88
"# Pairing Jupyter notebooks and MyST-NB\n",
@@ -76,7 +76,7 @@
7676
{
7777
"cell_type": "code",
7878
"execution_count": 1,
79-
"id": "85891e33",
79+
"id": "6845360c",
8080
"metadata": {},
8181
"outputs": [
8282
{
@@ -94,7 +94,7 @@
9494
},
9595
{
9696
"cell_type": "markdown",
97-
"id": "4f871670",
97+
"id": "af378a09",
9898
"metadata": {},
9999
"source": [
100100
"---\n",

_sources/content/save-load-arrays.ipynb

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "acff8fea",
5+
"id": "b3421abe",
66
"metadata": {},
77
"source": [
88
"# Saving and sharing your NumPy arrays\n",
@@ -37,7 +37,7 @@
3737
{
3838
"cell_type": "code",
3939
"execution_count": 1,
40-
"id": "5d73f02d",
40+
"id": "0ffd8d9c",
4141
"metadata": {},
4242
"outputs": [],
4343
"source": [
@@ -46,7 +46,7 @@
4646
},
4747
{
4848
"cell_type": "markdown",
49-
"id": "7281cd39",
49+
"id": "8eeccb81",
5050
"metadata": {},
5151
"source": [
5252
"In this tutorial, you will use the following Python, IPython magic, and NumPy functions:\n",
@@ -64,7 +64,7 @@
6464
},
6565
{
6666
"cell_type": "markdown",
67-
"id": "964551b8",
67+
"id": "e0b0e675",
6868
"metadata": {},
6969
"source": [
7070
"---\n",
@@ -81,7 +81,7 @@
8181
{
8282
"cell_type": "code",
8383
"execution_count": 2,
84-
"id": "d86d7de0",
84+
"id": "3a720aa9",
8585
"metadata": {},
8686
"outputs": [
8787
{
@@ -94,15 +94,15 @@
9494
}
9595
],
9696
"source": [
97-
"x = np.arange(0, 10, 1)\n",
97+
"x = np.arange(10)\n",
9898
"y = x ** 2\n",
9999
"print(x)\n",
100100
"print(y)"
101101
]
102102
},
103103
{
104104
"cell_type": "markdown",
105-
"id": "7de39d71",
105+
"id": "87214cfc",
106106
"metadata": {},
107107
"source": [
108108
"## Save your arrays with NumPy's [`savez`](https://numpy.org/doc/stable/reference/generated/numpy.savez.html?highlight=savez#numpy.savez)\n",
@@ -125,7 +125,7 @@
125125
{
126126
"cell_type": "code",
127127
"execution_count": 3,
128-
"id": "db42484a",
128+
"id": "dd3ca1fd",
129129
"metadata": {},
130130
"outputs": [],
131131
"source": [
@@ -134,7 +134,7 @@
134134
},
135135
{
136136
"cell_type": "markdown",
137-
"id": "b4ad0730",
137+
"id": "addc8818",
138138
"metadata": {},
139139
"source": [
140140
"## Remove the saved arrays and load them back with NumPy's [`load`](https://numpy.org/doc/stable/reference/generated/numpy.load.html#numpy.load)\n",
@@ -159,7 +159,7 @@
159159
{
160160
"cell_type": "code",
161161
"execution_count": 4,
162-
"id": "e1356e98",
162+
"id": "730e5152",
163163
"metadata": {},
164164
"outputs": [],
165165
"source": [
@@ -169,7 +169,7 @@
169169
{
170170
"cell_type": "code",
171171
"execution_count": 5,
172-
"id": "1922ed2c",
172+
"id": "c7d4885f",
173173
"metadata": {},
174174
"outputs": [
175175
{
@@ -189,7 +189,7 @@
189189
{
190190
"cell_type": "code",
191191
"execution_count": 6,
192-
"id": "8768503d",
192+
"id": "c479dca3",
193193
"metadata": {},
194194
"outputs": [
195195
{
@@ -209,7 +209,7 @@
209209
{
210210
"cell_type": "code",
211211
"execution_count": 7,
212-
"id": "7d141fc9",
212+
"id": "21a5d8ea",
213213
"metadata": {},
214214
"outputs": [
215215
{
@@ -218,7 +218,7 @@
218218
"text": [
219219
"Variable Type Data/Info\n",
220220
"-------------------------------\n",
221-
"load_xy NpzFile <numpy.lib.npyio.NpzFile <...>object at 0x7f8f1c03beb0>\n",
221+
"load_xy NpzFile <numpy.lib.npyio.NpzFile <...>object at 0x7f9bd52d05e0>\n",
222222
"np module <module 'numpy' from '/ho<...>kages/numpy/__init__.py'>\n"
223223
]
224224
}
@@ -229,7 +229,7 @@
229229
},
230230
{
231231
"cell_type": "markdown",
232-
"id": "3cd2a8a1",
232+
"id": "8ad9030d",
233233
"metadata": {},
234234
"source": [
235235
"## Reassign the NpzFile arrays to `x` and `y`\n",
@@ -242,7 +242,7 @@
242242
{
243243
"cell_type": "code",
244244
"execution_count": 8,
245-
"id": "d7d843dd",
245+
"id": "faabe58b",
246246
"metadata": {},
247247
"outputs": [
248248
{
@@ -263,7 +263,7 @@
263263
},
264264
{
265265
"cell_type": "markdown",
266-
"id": "11a13cf3",
266+
"id": "e6a1e692",
267267
"metadata": {},
268268
"source": [
269269
"## Success\n",
@@ -294,7 +294,7 @@
294294
{
295295
"cell_type": "code",
296296
"execution_count": 9,
297-
"id": "b82d3b26",
297+
"id": "a8fb5162",
298298
"metadata": {},
299299
"outputs": [
300300
{
@@ -323,7 +323,7 @@
323323
},
324324
{
325325
"cell_type": "markdown",
326-
"id": "95dbd932",
326+
"id": "b61cbdac",
327327
"metadata": {},
328328
"source": [
329329
"## Save the data to csv file using [`savetxt`](https://numpy.org/doc/stable/reference/generated/numpy.savetxt.html#numpy.savetxt)\n",
@@ -338,7 +338,7 @@
338338
{
339339
"cell_type": "code",
340340
"execution_count": 10,
341-
"id": "e6210daa",
341+
"id": "f0c2b011",
342342
"metadata": {},
343343
"outputs": [],
344344
"source": [
@@ -347,7 +347,7 @@
347347
},
348348
{
349349
"cell_type": "markdown",
350-
"id": "579baadf",
350+
"id": "05f1ee9e",
351351
"metadata": {},
352352
"source": [
353353
"Open the file, `x_y-squared.csv`, and you'll see the following:\n",
@@ -387,7 +387,7 @@
387387
{
388388
"cell_type": "code",
389389
"execution_count": 11,
390-
"id": "3c058934",
390+
"id": "edf06984",
391391
"metadata": {},
392392
"outputs": [],
393393
"source": [
@@ -397,7 +397,7 @@
397397
{
398398
"cell_type": "code",
399399
"execution_count": 12,
400-
"id": "e75d9377",
400+
"id": "9378d018",
401401
"metadata": {},
402402
"outputs": [],
403403
"source": [
@@ -407,7 +407,7 @@
407407
{
408408
"cell_type": "code",
409409
"execution_count": 13,
410-
"id": "c933aa67",
410+
"id": "47780e6b",
411411
"metadata": {},
412412
"outputs": [
413413
{
@@ -428,7 +428,7 @@
428428
{
429429
"cell_type": "code",
430430
"execution_count": 14,
431-
"id": "1a8e9334",
431+
"id": "0c2ccd20",
432432
"metadata": {},
433433
"outputs": [
434434
{
@@ -449,7 +449,7 @@
449449
},
450450
{
451451
"cell_type": "markdown",
452-
"id": "16e38544",
452+
"id": "0a689ad6",
453453
"metadata": {},
454454
"source": [
455455
"## Success, but remember your types\n",
@@ -460,7 +460,7 @@
460460
},
461461
{
462462
"cell_type": "markdown",
463-
"id": "5d921632",
463+
"id": "b549d200",
464464
"metadata": {},
465465
"source": [
466466
"## Wrapping up\n",

_sources/content/save-load-arrays.md.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ will assign `x` to the integers from 0 to 9 using
6868
[`np.arange`](https://numpy.org/doc/stable/reference/generated/numpy.arange.html).
6969

7070
```{code-cell}
71-
x = np.arange(0, 10, 1)
71+
x = np.arange(10)
7272
y = x ** 2
7373
print(x)
7474
print(y)

0 commit comments

Comments
 (0)