HF RL Explorer

Task: Display Rows with One or More NaN Values in a Pandas DataFrame

Task: Display Rows with One or More NaN Values in a Pandas DataFrame: a task in Terminal-Lego-15k (Harbor dataset). You have a CSV file containing a dataset where some rows have missing (NaN) values. Your task is to write a Python script that reads the CSV file, identifies all rows that contain…

The task

You have a CSV file containing a dataset where some rows have missing (NaN) values. Your task is to write a Python script that reads the CSV file, identifies all rows that contain **one or more NaN values**, and writes only those rows to an output CSV file.

Part of PrimeIntellect/Terminal-Lego-15k.