HF RL Explorer

Task: Dump a NumPy Array into a CSV File

Task: Dump a NumPy Array into a CSV File: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that creates a 2D NumPy array and exports it to a CSV file in a human-readable format. The CSV file should be properly formatted with comma-separated values and readable by both humans and…

The task

Write a Python script that creates a 2D NumPy array and exports it to a CSV file in a human-readable format. The CSV file should be properly formatted with comma-separated values and readable by both humans and standard CSV parsers.

Part of PrimeIntellect/Terminal-Lego-15k.