The truth value of an array with more than one element is ambigous when trying to index an array,"c[np.logical_and(a, b)]"