python -numpyHow to use where() to filter array. import numpy as np array = np.arange(0, 100).reshape(10,10) filtered = array[np.where(array > 80)] ctrl + c.
確定! 回上一頁