W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_numpy_array_filter_1.py:
import numpy as np arr = np.array([61, 62, 63, 64, 65]) x = arr[[True, False, True, False, True]] print(x)