HF RL Explorer

Task: Find Integer Index of Rows with NaN in Pandas DataFrame

Task: Find Integer Index of Rows with NaN in Pandas DataFrame: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that reads a CSV file containing a pandas DataFrame with a datetime index and two numeric columns ( a and b ). Some rows contain NaN values. Your task is…

The task

You need to write a Python script that reads a CSV file containing a pandas DataFrame with a datetime index and two numeric columns (`a` and `b`). Some rows contain `NaN` values. Your task is to find the **integer index positions** of all rows that contain at least one `NaN` value and write the result to an output…

Part of PrimeIntellect/Terminal-Lego-15k.