HF RL Explorer

Task: Find Row Indices Where Condition is True in NumPy Array

Task: Find Row Indices Where Condition is True in NumPy Array: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that efficiently finds the indices of rows in a NumPy 2D array where at least one element satisfies a given condition, without using explicit Python for…

The task

You need to write a Python script that efficiently finds the indices of rows in a NumPy 2D array where at least one element satisfies a given condition, without using explicit Python for loops.

Part of PrimeIntellect/Terminal-Lego-15k.