numpy.where() detailed, step-by-step explanation / examples

I have trouble properly understanding numpy.where() despite reading the doc, this post and this other post. Can someone provide step-by-step commented examples with 1D and 2D arrays? Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them … Read more