tabulate - Man Page

tabulate – pretty-print tabular data

Synopsis

tabulate [options] [FILE ...]

Options

Positional Arguments

FILE

a filename of the file with tabular data; if “-” or missing, read data from stdin.

Optional Arguments

-h,  --help

Show a help message

-1,  --header

use the first row of data as a table header

-o FILE, --output FILE

print table to FILE (default: stdout)

-s REGEXP, --sep REGEXP

use a custom column separator (default: whitespace)

-F FPFMT, --float FPFMT

floating point number format (default: g)

-I INTFMT, --int INTFMT

integer point number format (default: “”)

-f FMT, --format FMT

set output table format; supported formats: plain, simple, grid, fancy_grid, pipe, orgtbl, rst, mediawiki, html, latex, latex_raw, latex_booktabs, latex_longtable, tsv (default: simple)

See Also

https://github.com/astanin/python-tabulate

Info

October 2022