Skip to main content

head


head

The head command displays the first few rows of a CSV file.

Syntax

qsv head [options] <input_file>

Options

  • -n, --lines <count>: Specify the number of lines to display (default is 10)

Examples

Display First 5 Rows

Show the first 5 rows of the CSV file:

qsv head -n 5 /mnt/data/DLD_Transactions_English_500.csv | qsv table

Common Use Cases

  • Previewing the start of a dataset