HF RL Explorer

Task: Read Specific Rows from a CSV File

Task: Read Specific Rows from a CSV File: a task in Terminal-Lego-15k (Harbor dataset). You have a CSV file with 100 rows of data (plus a header row). Write a Python script that reads specific rows from the CSV file by their row numbers and writes the extracted rows to an output file.

The task

You have a CSV file with 100 rows of data (plus a header row). Write a Python script that reads specific rows from the CSV file by their row numbers and writes the extracted rows to an output file.

Part of PrimeIntellect/Terminal-Lego-15k.