Select elements of numpy array via boolean mask array Select elements of numpy array via boolean mask array numpy numpy