gctl/tool/dsviewer/dsviewer.md
2025-02-04 11:58:22 +08:00

1.3 KiB

quit

Does what it says.

info [column|row|both]

Show the table information.

head

Show the first n (the default is 10) rows of the table.

tail

Show the last n (the default is 10) rows of the table.

open <file> [nohead|column|row|both] [<head_num>] [<deli-sym>] [<att-sym>] [<tag-sym>]

Open a dsv/csv file. The default setups are 'nohead', space for delimeter, '#' for annotations, and '!' for tags. If the file name ends with '.csv', the default delimeter is ','.

save <file> [<delimeter>] [<att-sym>] [<tag-sym>]

Save table to a dsv/csv file. The default setups are space for delimeter, '#' for annotations, and '!' for tags. If the file name ends with '.csv', the default delimeter is ','.

stats <colname1> <colname2> ...

Show statistics of a data column or columns. If the input file has no column names, use inbuild names C<id> to select the columns.

enable column|row <name1> <name2> ...

Enable table outputs. If the input file has no row or column names, use inbuild names R<id> and C<id> to select the rows and columns.

disable column|row <name1> <name2> ...

Disable table outputs. If the input file has no row or column names, use inbuild names R<id> and C<id> to select the rows and columns.