Task: Implement a Fast and Memory-Efficient NaN Detection Function for NumPy Arrays
Task: Implement a Fast and Memory-Efficient NaN Detection Function for NumPy Arrays: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a fast and memory-efficient function to check whether a NumPy array contains any NaN (Not a Number) values.
Part of PrimeIntellect/Terminal-Lego-15k.