Skip to content

Releases: shenwei356/csvtk

csvtk v0.4.6

08 Feb 01:47

Choose a tag to compare

  • csvtk grep: fix result highlight when flag -v is on.

csvtk v0.4.5

15 Jan 06:05

Choose a tag to compare

  • csvtk join: support the 2nd or later files with entries with same ID: e.g.:

    $ cat 1.csv
    name,attr
    foo,cool
    bar,handsome
    bob,beutiful
    
    $ cat 2.csv
    name,major
    bar,bioinformatics
    bob,microbiology
    bob,computer science
    
    $ cat 3.csv
    id,name,hobby
    1,bar,baseball
    2,bob,basketball
    3,foo,football
    4,wei,programming
    
    $ csvtk join 1.csv 2.csv  | csvtk pretty
    name   attr       major
    bar    handsome   bioinformatics
    bob    beutiful   microbiology
    bob    beutiful   computer science
    
    $ csvtk join 1.csv 2.csv 3.csv -f name -k | csvtk pretty
    name   attr       major               id   hobby
    foo    cool                           3    football
    bar    handsome   bioinformatics      1    baseball
    bob    beutiful   microbiology        2    basketball
    bob    beutiful   computer science    2    basketball
    
    $ csvtk join 3.csv 1.csv 2.csv -f name -k | csvtk pretty
    id   name   hobby         attr       major
    1    bar    baseball      handsome   bioinformatics
    2    bob    basketball    beutiful   computer science
    2    bob    basketball    beutiful   computer science
    3    foo    football      cool       
    4    wei    programming
    

csvtk v0.4.4

29 Nov 07:21

Choose a tag to compare

  • add command csvtk freq: frequencies of selected fields
  • add lots of examples in usage page

csvtk v0.4.3

28 Nov 13:57

Choose a tag to compare

  • improvement of using experience: flag -n is not required anymore when flag -H in csvtk mutate

csvtk v0.4.2

23 Nov 06:26

Choose a tag to compare

  • fix highlight bug of csvtk grep: if the pattern matches multiple parts,
    the text will be wrongly edited.
  • changes: disable highlight when pattern file given.
  • #6 change the default output of all ploting commands to STDOUT, now you can
    pipe the image to "display" command of Imagemagic.

csvtk v0.4.1

07 Nov 14:00

Choose a tag to compare

  • Nothing changed. Just fix the links due to inappropriate deployment of v0.4.0

csvtk v0.4.0

24 Oct 01:55

Choose a tag to compare

  • add flag for csvtk replace: -K (--keep-key) keep the key as value when
    no value found for the key. This is open in default in previous versions.

csvtk v0.3.9

13 Oct 03:21

Choose a tag to compare

  • fix bug: header row incomplete in csvtk sort result

csvtk v0.3.8.1

06 Oct 17:11

Choose a tag to compare

  • fix bug of flag parsing library pflag,
    detail.
    The bug affected the csvtk grep -r -p, when value of -p contain "[" and "]"
    at the beginning or end, they are wrongly parsed.

csvtk v0.3.8

05 Oct 06:11

Choose a tag to compare

  • new feature: csvtk cut supports ordered fields output. e.g., csvtk cut -f 2,1
    outputs the 2nd column in front of the 1th column.
  • new commands: csvtk plot can plot three types of plots by subcommands:
    • csvtk plot hist: histogram
    • csvtk plot box: boxplot
    • csvtk plot line: line plot