File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1733,14 +1733,14 @@ import numpy as np
1733
1733
### Indexing
1734
1734
#### Basic indexing:
1735
1735
``` bash
1736
- < el> = < 2d_array> [0, 0]
1736
+ < el> = < 2d_array> [0, 0]
1737
1737
```
1738
1738
1739
1739
#### Basic slicing:
1740
1740
``` bash
1741
- < 1d_view> = < 2d_array> [0] # First row.
1742
- < 1d_view> = < 2d_array> [:, 0] # First column. Also [..., 0].
1743
- < 3d_view> = < 2d_array> [None, :, :] # Expanded by dimension of size 1.
1741
+ < 1d_view> = < 2d_array> [0] # First row.
1742
+ < 1d_view> = < 2d_array> [:, 0] # First column. Also [..., 0].
1743
+ < 3d_view> = < 2d_array> [None, :, :] # Expanded by dimension of size 1.
1744
1744
```
1745
1745
1746
1746
#### Integer array indexing:
@@ -1753,8 +1753,8 @@ import numpy as np
1753
1753
1754
1754
#### Boolean array indexing:
1755
1755
``` bash
1756
- < 2d_bool_array > = < 2d_array> > 0
1757
- < 1d_array> = < 2d_array> [< 2d_bool_array > ]
1756
+ < 2d_bools > = < 2d_array> > 0
1757
+ < 1d_array> = < 2d_array> [< 2d_bools > ]
1758
1758
```
1759
1759
1760
1760
### Broadcasting
You can’t perform that action at this time.
0 commit comments