Call numpy. where(condition) with condition as multiple boolean expressions involving the array combined using | (or) or & (and). Use arr[x] with x as the previous results to get a new array containing only the elements of arr for which each conditions is True .