HF RL Explorer

Task: Efficient Non-NaN Element Counting in NumPy Arrays

Task: Efficient Non-NaN Element Counting in NumPy Arrays: a task in Terminal-Lego-15k (Harbor dataset). You need to implement an efficient function to count the number of non-NaN elements in a numpy ndarray. This is a common operation in data analysis, especially when dealing with large datasets…

The task

You need to implement an efficient function to count the number of non-NaN elements in a numpy ndarray. This is a common operation in data analysis, especially when dealing with large datasets that may contain missing values represented as NaN.

Part of PrimeIntellect/Terminal-Lego-15k.