Python - How to turn a boolean array into index array in numpy?

Python - How to turn a boolean array into index array in numpy?

More to explore

Based on this image's title: “Python - How to turn a boolean array into index array in numpy?