HF RL Explorer

Task: Creating a Dictionary from a CSV File

Task: Creating a Dictionary from a CSV File: a task in Terminal-Lego-15k (Harbor dataset). You are given a CSV file where the first column contains unique keys and the second column contains values. Each row represents a unique key-value pair. Your task is to write a Python script that reads this…

The task

You are given a CSV file where the first column contains unique keys and the second column contains values. Each row represents a unique key-value pair. Your task is to write a Python script that reads this CSV file and creates a **single dictionary** from all rows, then writes the dictionary as a JSON file to the…

Part of PrimeIntellect/Terminal-Lego-15k.