Update 031.md

This commit is contained in:
片刻
2023-11-30 17:29:30 +08:00
committed by GitHub
parent ba390c9f4e
commit fbfd55dc04

View File

@@ -858,7 +858,7 @@ array([[ 0, 1, 2, 3, 4, 5],
In [51]:
```py
condition = array([0,1,1,0,1],
condition = array([0,1,1,0,1,0],
dtype=bool)
a[condition]
@@ -1182,4 +1182,4 @@ Out[69]:
```py
(array([2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4], dtype=int64),
array([3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4], dtype=int64))
```
```