This is how to copy the first lines of a giant file using Linux command.
head -n X yourfile.csv > shrunkfile.csv
Where X is the number of lines you want to copy from the original.