Skip to content

Commit 41b7b59

Browse files
committed
Add missing exercise README
1 parent 3d31180 commit 41b7b59

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

numpy/reference-copy/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Investigate the behavior of the statements below by looking at the values of
2+
the arrays a and b after assignments:
3+
4+
```
5+
a = np.arange(5)
6+
b = a
7+
b[2] = -1
8+
b = a[:]
9+
b[1] = -1
10+
b = a.copy()
11+
b[0] = -1
12+
```

0 commit comments

Comments
 (0)