How can I use a 2D array of boolean rows to filter another 2D array?,"data[(np.where(masks)[1]), :]"