To elaborate and ensuring my questions are specific, I have a dataset and their index:
Say I would like to find the index and value of the 1st value > 2 after value (8)
Which means my desired output would look like this:
Normally, I would have a table of starting indices, but this is just a random sample to keep it short.
How do I code this?