Skip to content

Commit 4862dd6

Browse files
committed
Numpy
1 parent 68292d1 commit 4862dd6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,19 +1716,20 @@ import numpy as np
17161716
<array> = np.random.randint(from_inclusive, to_exclusive, <shape>)
17171717
```
17181718

1719-
#### Shape is a tuple of dimension sizes.
17201719
```python
17211720
<array>.shape = <shape>
17221721
<view> = <array>.reshape(<shape>)
17231722
<view> = np.broadcast_to(<array>, <shape>)
17241723
```
17251724

1726-
#### Axis is an index of dimension, that gets collapsed.
17271725
```python
17281726
<array> = <array>.sum(<axis>)
17291727
<array> = <array>.argmin(<axis>)
17301728
```
17311729

1730+
* **Shape is a tuple of dimension sizes.**
1731+
* **Axis is an index of dimension, that gets collapsed.**
1732+
17321733
### Indexing
17331734
#### Basic indexing:
17341735
```bash

0 commit comments

Comments
 (0)