Task: Find First Occurrence of Value Greater Than Threshold in NumPy Array
Task: Find First Occurrence of Value Greater Than Threshold in NumPy Array: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that finds the position (index) of the first element in a NumPy array where the value exceeds a given threshold.
The task
You need to write a Python script that finds the position (index) of the first element in a NumPy array where the value exceeds a given threshold.
Part of PrimeIntellect/Terminal-Lego-15k.