Merge pull request #63 from SebastianoF/master

Spaces removed from filenames. Issue #54 addressed
This commit is contained in:
Nicolas P. Rougier
2018-06-07 17:09:10 +02:00
committed by GitHub
6 changed files with 3 additions and 3 deletions

View File

@@ -171,7 +171,7 @@ print(Z)
```python ```python
print(np.unravel_index(100,(6,7,8))) print(np.unravel_index(99,(6,7,8)))
``` ```
#### 21. Create a checkerboard 8x8 matrix using the tile function (★☆☆) #### 21. Create a checkerboard 8x8 matrix using the tile function (★☆☆)
@@ -538,7 +538,7 @@ print(Z)
```python ```python
from io import StringIO from io import StringIO
# Fake file # Fake file
s = StringIO("""1, 2, 3, 4, 5\n s = StringIO("""1, 2, 3, 4, 5\n
6, , , 7, 8\n 6, , , 7, 8\n
, , 9,10,11\n""") , , 9,10,11\n""")
@@ -1079,7 +1079,7 @@ print (cartesian(([1, 2, 3], [4, 5], [6, 7])))
```python ```python
Z = np.array([("Hello", 2.5, 3), Z = np.array([("Hello", 2.5, 3),
("World", 3.6, 2)]) ("World", 3.6, 2)])
R = np.core.records.fromarrays(Z.T, R = np.core.records.fromarrays(Z.T,
names='col1, col2, col3', names='col1, col2, col3',
formats = 'S8, f8, i8') formats = 'S8, f8, i8')
print(R) print(R)