Merge pull request #169 from mgoloshchapov/patch-3

Update 100_Numpy_exercises_with_solutions.md
This commit is contained in:
Nicolas P. Rougier
2022-01-31 19:03:50 +01:00
committed by GitHub

View File

@@ -178,7 +178,7 @@ print(np.unravel_index(99,(6,7,8)))
```python
Z = np.tile( np.array([[0,1],[1,0]]), (4,4))
Z = np.tile(np.eye(2), (4,4))
print(Z)
```
#### 22. Normalize a 5x5 random matrix (★☆☆)
@@ -1205,4 +1205,4 @@ idx = np.random.randint(0, X.size, (N, X.size))
means = X[idx].mean(axis=1)
confint = np.percentile(means, [2.5, 97.5])
print(confint)
```
```