solutions update from 9642cab

This commit is contained in:
rougier
2025-11-06 16:13:10 +00:00
committed by github-actions[bot]
parent 9642cab77c
commit 6447594ad6
4 changed files with 211 additions and 211 deletions

View File

@@ -548,7 +548,7 @@ s = StringIO('''1, 2, 3, 4, 5
, , 9,10,11
''')
Z = np.genfromtxt(s, delimiter=",", dtype=np.int)
Z = np.genfromtxt(s, delimiter=",", dtype = int, filling_values = 0)
print(Z)
```
#### 55. What is the equivalent of enumerate for numpy arrays? (★★☆)