Say I have two arrays like so:
How can I find the index where both following conditions are satisfied?
So for my example, I expect the return would be index 5. I imagine the format would look something like this:
findfirst(x -> x > 80 \union y -> y> 30, x,y)
but this doesnt work..
Also in my case x and y are columns in a dataframe, but doing an index search also doesnt work..
Broadcasting seems to work:
findfirst((x .> 80) .& (y .> 30))