HF RL Explorer

Task: Split a File While Preserving Header Line in Each Piece

Task: Split a File While Preserving Header Line in Each Piece: a task in Terminal-Lego-15k (Harbor dataset). You need to split a large text/CSV file into smaller pieces while ensuring that the header line (first line) from the original file appears at the beginning of each resulting piece.

The task

You need to split a large text/CSV file into smaller pieces while ensuring that the header line (first line) from the original file appears at the beginning of each resulting piece.

Part of PrimeIntellect/Terminal-Lego-15k.