|
@ -1735,7 +1735,7 @@ import numpy as np |
|
|
```python |
|
|
```python |
|
|
<2d_bool_array> = <2d_array> > 0 |
|
|
<2d_bool_array> = <2d_array> > 0 |
|
|
<1d_array> = <2d_array>[<2d_bool_array>] |
|
|
<1d_array> = <2d_array>[<2d_bool_array>] |
|
|
`` |
|
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
### Broadcasting |
|
|
### Broadcasting |
|
|
**Broadcasting is a set of rules by which NumPy functions operate on arrays of different sizes and/or dimensions.** |
|
|
**Broadcasting is a set of rules by which NumPy functions operate on arrays of different sizes and/or dimensions.** |
|
|