Skip to content

Commit 5984063

Browse files
authored
Merge pull request #205 from rossbar/untrack-npz
Drop some generated data files from tracking
2 parents a6afd8d + c3c581a commit 5984063

File tree

4 files changed

+4
-24
lines changed

4 files changed

+4
-24
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,5 @@ content/tutorial-x-ray-image-processing/xray_image.gif
9999
content/video
100100
content/*ipynb
101101
content/tutorial-nlp-from-scratch/parameters.npy
102-
content/tutorial-nlp-from-scratch/*ipynb
102+
content/tutorial-nlp-from-scratch/*ipynb
103+
content/x_y-squared*

content/save-load-arrays.md

+2-12
Original file line numberDiff line numberDiff line change
@@ -187,18 +187,8 @@ np.savetxt("x_y-squared.csv", X=array_out, header="x, y", delimiter=",")
187187

188188
Open the file, `x_y-squared.csv`, and you'll see the following:
189189

190-
```
191-
# x, y
192-
0.000000000000000000e+00,0.000000000000000000e+00
193-
1.000000000000000000e+00,1.000000000000000000e+00
194-
2.000000000000000000e+00,4.000000000000000000e+00
195-
3.000000000000000000e+00,9.000000000000000000e+00
196-
4.000000000000000000e+00,1.600000000000000000e+01
197-
5.000000000000000000e+00,2.500000000000000000e+01
198-
6.000000000000000000e+00,3.600000000000000000e+01
199-
7.000000000000000000e+00,4.900000000000000000e+01
200-
8.000000000000000000e+00,6.400000000000000000e+01
201-
9.000000000000000000e+00,8.100000000000000000e+01
190+
```{code-cell}
191+
!head x_y-squared.csv
202192
```
203193

204194
## Our arrays as a csv file

content/x_y-squared.csv

-11
This file was deleted.

content/x_y-squared.npz

-670 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)