Browse Source

Numpy

pull/10/head
Jure Šorn 5 years ago
parent
commit
319cf489f1
1 changed files with 2 additions and 2 deletions
  1. 4
      README.md

4
README.md

@ -1716,14 +1716,14 @@ import numpy as np
<array> = np.random.randint(from_inclusive, to_exclusive, <shape>)
```
#### Shape is a tuple of dimension sizes:
#### Shape is a tuple of dimension sizes.
```python
<array>.shape = <shape>
<view> = <array>.reshape(<shape>)
<view> = np.broadcast_to(<array>, <shape>)
```
#### Axis is an index of dimension that gets collapsed:
#### Axis is an index of dimension that gets collapsed.
```python
<array> = <array>.sum(<axis>)
<array> = <array>.argmin(<axis>)

Loading…
Cancel
Save