Is there an efficient Numpy mechanism to retrieve the integer indexes of locations in an array based on a condition is true as opposed to the Boolean mask array?
For
If you prefer the indexer way, you can convert your boolean list to numpy array:
print x[nd.array(mask)]