get the first element that is larger than code example Example: get the first element that is larger than np.argmax(aa>5) #Since argmax will stop at the first True