Zdobądź pierwszy element, który jest większy niż

np.argmax(aa>5)
#Since argmax will stop at the first True 
Real Raccoon