Merge pull request #63 from SebastianoF/master
Spaces removed from filenames. Issue #54 addressed
This commit is contained in:
commit
15f4412342
@ -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)
|
Loading…
Reference in New Issue
Block a user