Releases: shenwei356/csvtk
Releases · shenwei356/csvtk
csvtk v0.32.0
Changes
- csvtk v0.32.0
csvtk filter2/mutate2/mutate3
:- fix a bug of mismatch between column names and values which was brought in v0.31.1. #295
- add some unit tests.
csvtk pretty
:-w/--min-width
and-W/--max-width
accept multiple values for setting column-specific thresholds.- add a new format style
round
for round corners.
Notes
- run
csvtk version
to check update !!! - run
csvtk genautocomplete
to update Bash completion !!!
csvtk v0.31.1
Changes
Notes
- run
csvtk version
to check update !!! - run
csvtk genautocomplete
to update Bash completion !!!
csvtk v0.31.0
Changes
- csvtk v0.31.0
csvtk sort/join
:- faster speed and lower memory.
csvtk sort
:- do not panic for empty input. #287
csvtk summary
:- fix the order of columns. #282
csvtk rename2
:- fix
-n/--start-num
. #286 - add flag
--nr-width
.
- fix
csvtk replace
:- fix implementing
{nr}
. #286
- fix implementing
csvtk csv2json
:- fix values with double quotes and new line symbols.
csvtk split
:- support customize output file prefix and subdirectory from prefix of keys. #288
csvtk spread
:- add a new alias "scatter" to "spread". #265
csvtk grep
:- do not show progress.
csvtk fix-quotes
:- new flag
-b, --buffer-size
.
- new flag
csvtk plot
:- new flag
--scale
for scaling the image width/height, tick, axes, line/point and font sizes proportionally, adviced by @tseemann.
- new flag
csvtk plot line
:csvtk hist
:- new flags:
--line-width
.
- new flags:
csvtk box
:- plots of different groups have different colors now.
- new flags:
--line-width
,--point-size
, andcolor-index
.
csvtk v0.30.0
Changes
- csvtk v0.30.0
csvtk
:- grouping subcommands in help message.
- add a new global flag
--quiet
. #261 - add a new global flag
-U, --delete-header
for disable outputing the header row. Supported commands: concat, csv2tab/tab2csv, csv2xlsx/xlsx2csv, cut, filter, filter2, freq, fold/unfold, gather, fmtdate, grep, head, join, mutate, mutate2, replace, round, sample. #258 - support more commands with
-Z/--show-row-number
: head.
csvtk dim
:- fix duplicated rows for multiple input files, this bug was introduced in v0.27.0.
csvtk concat
:- fix panic when no data found. #259
csvtk spread
:- fix flag checking of
-k
and-v
.
- fix flag checking of
csvtk sort
:- fix ordering when given multiple custom levels.
csvtk filter/filter2
:- fix printing row number with
-Z
.
- fix printing row number with
csvtk xls2csv
:- output raw data. #262
csvtk pretty
:- change the default value of
-n/--buf-rows
from 128 to 1024, and 0 for loading all data.
- change the default value of
csvtk join
:- new flag
-s/--suffix
for adding suffixes to colnames from each file. #263
- new flag
csvtk v0.29.0
Changelog
- csvtk v0.29.0
- new commands:
fix-quotes
: fix malformed CSV/TSV caused by double-quotes. #260del-quotes
: remove extra double-quotes added byfix-quotes
.
csvtk del-header
:- fix deleting headers of 2nd and later files. #257
csvtk concat
:- fix panic when no data found.
csvtk sort
:- support column names containing colons. #254
csvtk filter2
:csvtk plot
:- add a new flag
--tick-label-size
.
- add a new flag
csvtk pretty
:- fix showing cell data containing "tabs", by replacing tabs with spaces.
- new commands:
csvtk v0.28.0
Changes
- csvtk v0.28.0
csvtk
:- add the shortcut
-X
for the flag--infile-list
. #249
- add the shortcut
csvtk pretty
:- support field ranges for
-m/--align-center
and-r/--align-right
. #244
- support field ranges for
csvtk spread
:- support values sharing the same keys. #248
csvtk join
:- a new flag
-P/--prefix-duplicates
: add filenames as colname prefixes only for duplicated colnames. #246
- a new flag
csvtk mutate2
:- fix changing the order of the header row, the code was accidentally missing during code refactoring in v0.27.0. #252
csvtk xlsx2csv
:- fix
open /tmp/excelize-: no such file or directory
error for big.xlsx
files. #251
- fix
csvtk comb
:- fix the empty result bug for alphabet sizes greater than 64.
csvtk v0.27.2
Changes
- csvtk v0.27.2
-
csvtk pretty
:-
fix the bug of empty first row with
-H/--no-header-row
, introduced in v0.27.0. -
new style
3line
for three-line table.$ csvtk pretty names.csv -S 3line ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ id first_name last_name username ---------------------------------------- 11 Rob Pike rob 2 Ken Thompson ken 4 Robert Griesemer gri 1 Robert Thompson abc NA Robert Abel 123 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-
-
csvtk csv2xlsx
:- binaries compiled with go1.21 would result in a broken xlsx file. #243
-
csvtk splitxlsx
:- fix the error of
invalid worksheet index
. #1617
- fix the error of
-
csvtk v0.27.1
Changes
- csvtk v0.27.1
csvtk filter2/mutate2
:- fix the bug of selecting with field numbers. #242
v0.27.0
Changes
- csvtk v0.27.0
csvtk
:- code refactoring and simplifying code, with 16% less code.
- most commands support open column range syntax, e.g.,
csvtk grep -f 2-
. #120 - only selected column names are not allowed to be duplicated in the input data: box, corr, filter, filter2, fold, freq, gather, historysort, inter, join, line, mutate, mutate2, rename, replace, sep, split, summary, unfold, uniq, watch. Other commands do not have the restriction. #235
- add a new global flag
-Z/--show-row-number
, supported commands: cut, csv2tab, csv2xlsx, tab2csv, pretty. - the colum name of row number changes from "n" to "row": csv2xlsx, csv2tab, cut, filter, filter2, grep, pretty, sample, tab2csv.
- new command:
csvtk mutate/mutate2
:- new flags
--at
,--before
,--after
for specifying the position of the new column. #193
- new flags
csvtk cut
:- fix unselect range error. #234
- fix
-i/--ignore-case
.
csvtk pretty
:- allow align-center and align-right for specific columns. #240
csvtk round
:- fix bug of failing to round scientific notation with value small than one, e.g.,
7.1E-1
.
- fix bug of failing to round scientific notation with value small than one, e.g.,
csvtk summary
:- fix duplicated columns.
- fix result error when multiple stats applied to the same column.
csvtk corr/watch
:- rewrite and fix bug, support choosing fields with column names.
csvtk v0.26.0
Changes
- csvtk v0.26.0
csvtk
:- new command
csvtk fix
: fix CSV/TSV with different numbers of columns in rows. #226 csvtk pretty
: rewrite to support wrapping cells. #206 #209 #228csvtk cut/fmtdate/freq/grep/rename/rename2/replace/round
: allow duplicated column names.csvtk csv2xlsx
: optionally stores numbers as float. #217csvtk xlsx2csv
: fix bug wherexlsx2csv
treats small number (padj < 1e-25) as 0. It's solved by updating the excelize package. #261csvtk join
: a new flag for adding filename as column name prefix. by @tetedange13 #202csvtk mutate2
: fix wrongly treating strings likeE10
as numbers in scientific notation. #219csvtk sep
: fix the logic. #218csvtk space2tab
: fix "bufio.Scanner: token too long". #231