Merge pull request #57 from MikeBloom914/patch-1
Update with corrected answer #53
This commit is contained in:
commit
6c26468543
@ -1113,8 +1113,8 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"Z = np.arange(10, dtype=np.int32)\n",
|
||||
"Z = Z.astype(np.float32, copy=False)\n",
|
||||
"Z = np.arange(10, dtype=np.float32)\n",
|
||||
"Z = Z.astype(np.int32, copy=False)\n",
|
||||
"print(Z)"
|
||||
]
|
||||
},
|
||||
|
@ -527,8 +527,8 @@ print(D)
|
||||
|
||||
|
||||
```python
|
||||
Z = np.arange(10, dtype=np.int32)
|
||||
Z = Z.astype(np.float32, copy=False)
|
||||
Z = np.arange(10, dtype=np.float32)
|
||||
Z = Z.astype(np.int32, copy=False)
|
||||
print(Z)
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user