HF RL Explorer

Task: Vertically Align Comma-Separated Values in a CSV File

Task: Vertically Align Comma-Separated Values in a CSV File: a task in Terminal-Lego-15k (Harbor dataset). Write a script or command that takes a CSV file with unaligned columns and produces an output file where each column is vertically aligned by padding values with spaces. Each column should be…

The task

Write a script or command that takes a CSV file with unaligned columns and produces an output file where each column is vertically aligned by padding values with spaces. Each column should be padded to the width of the longest value in that column, making the file visually readable like a spreadsheet.

Part of PrimeIntellect/Terminal-Lego-15k.