LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

csvlook

CSV table renderer for terminal viewing

TLDR

Display CSV as table
$ csvlook [data.csv]
copy
Limit rows displayed
$ csvlook --max-rows [10] [data.csv]
copy
Limit column width
$ csvlook --max-column-width [20] [data.csv]
copy
Hide line numbers
$ csvlook --no-number [data.csv]
copy
Use different delimiter
$ csvlook -d ";" [data.csv]
copy
Read from stdin
$ cat [data.csv] | csvlook
copy

SYNOPSIS

csvlook [options] file

DESCRIPTION

csvlook renders CSV data as a fixed-width table for terminal viewing. It's part of csvkit and provides a quick way to preview CSV files in a readable format.The tool auto-sizes columns based on content and displays data with ASCII borders, making it easy to inspect data structure and values.

PARAMETERS

-H, --no-header-row

Input has no header row.
--max-rows n
Maximum rows to display.
--max-column-width n
Truncate columns at width.
--max-columns n
Maximum columns to display.
-y n, --snifflimit n
Rows to sniff for delimiter.
--no-number
Don't display row numbers.
-d char
Field delimiter.
-q char
Quote character.
-e encoding
Input encoding.

CAVEATS

Large files may be slow to render. Wide tables may wrap in terminal. Part of csvkit, requires Python installation.

HISTORY

csvlook is part of csvkit, created by Christopher Groskopf in 2011. It provides quick data preview capabilities essential for data analysis workflows, complementing other csvkit tools for CSV manipulation.

SEE ALSO

csvcut(1), csvstat(1), column(1), less(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid