We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 281ec48 commit 2ac0cf1Copy full SHA for 2ac0cf1
100_Numpy_exercises_with_hints_with_solutions.md
@@ -72,7 +72,7 @@ print(Z)
72
`hint: reshape`
73
74
```python
75
-nz = np.nonzero([1,2,0,0,4,0])
+nz = np.arange(0,9).reshape(3,3)
76
print(nz)
77
```
78
#### 10. Find indices of non-zero elements from [1,2,0,0,4,0] (★☆☆)
0 commit comments