I have csv file and want to output a new csv file, that only contains the first 10 lines form the original one.
I\'ve so far only found code to delete single lines or lines that
Be sure to include the header row or you could run into issues. You can also change the numbers to get whatever rows you want. The first and head flags did not work for me.