Skip to content

Commit 2ac0cf1

Browse files
committed
fix Issue rougier#101
1 parent 281ec48 commit 2ac0cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

100_Numpy_exercises_with_hints_with_solutions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ print(Z)
7272
`hint: reshape`
7373

7474
```python
75-
nz = np.nonzero([1,2,0,0,4,0])
75+
nz = np.arange(0,9).reshape(3,3)
7676
print(nz)
7777
```
7878
#### 10. Find indices of non-zero elements from [1,2,0,0,4,0] (★☆☆)

0 commit comments

Comments
 (0)