Skip to content

Releases: shenwei356/csvtk

csvtk v0.25.0

Compare
Choose a tag to compare

Changes

  • csvtk v0.25.0 Github Releases (by Release)
    • csvtk: report empty files.
    • csvtk join: fix loading file with no records.
    • csvtk filter2/muate2:
      • support variable format of ${var} with special charactors including commas, spaces, and parentheses, e.g., ${a,b}, ${a b}, or ${a (b)}. #186
    • csvtk sort: fix checking non-existed fileds.
    • csvtk plot box/hist/line: new flag --skip-na for skipping missing data. #188
    • csvtk csv2xlsx: stores number as float. #192
    • csvtk summary: new functions argmin and argmax. #181

csvtk v0.24.0

Compare
Choose a tag to compare

Changes

  • csvtk v0.24.0 Github Releases (by Release)
    • Incompatible changes:
      • csvtk mutate2/summary:
        • mutate2: remove the option -L/--digits.
        • use the same option -w/--decimal-width to limit floats to N decimal points.
    • new command csvtk fmtdate: format date of selected fields. #159
    • csvtk grep: fix bug for searching with -r -p ..
    • csvtk csv2rst: fix bug for data containing unicode. #137
    • csvtk filter2: fix bug for date expression. #146
    • csvtk mutate2/filter2:
      • change the way of rexpression evaluation.
      • add custom functions: len(). #153
      • fix bug when using two or more columns with common prefixes in column names. #173
      • fix value with single or double quotes. #174
    • csvtk cut: new flags -m/--allow-missing-col and -b/--blank-missing-col. #156
    • csvtk pretty: still add header row for empty column.
    • csvtk csv2md: better format.
    • csvtk join: new flag -n/--ignore-null. #163

csvtk v0.23.0

Compare
Choose a tag to compare

Changes

  • csvtk v0.23.0 Github Releases (by Release)
    • new comand: csvtk csv2rst for converting CSV to reStructuredText format. #137
    • csvtk pretty: add header separator line. #123
    • csvtk mutate2/summary: fix message and doc. Thanks @VladimirAlexiev #127
    • csvtk mutate2: fix null coalescence: ??. #129
    • csvtk genautocomplete: supports bash|zsh|fish|powershell. #126
    • csvtk cat: fix progress bar. #130
    • csvtk grep: new flag immediate-output.
    • csvtk csv2xlsx: fix bug for table with > 26 columns. 138

csvtk v0.22.0

Compare
Choose a tag to compare

Changes

  • csvtk v0.22.0 Github Releases (by Release)
    • csvtk:
      • global flag -t does not overide -D anymore. #114
      • If the executable/symlink name is tsvtk the -t/--tabs option for tab input is set. Thanks @bsipos. #117
    • new command: csvtk csv2xlsx for converting CSV/TSV file(s) to a single .xlsx file.
    • new command: csvtk unfold for unfolding multiple values in cells of a field. #103
    • rename csvtk collapse to csvtk fold, for folding multiple values of a field into cells of groups.
    • csvtk cut: support range format 2- to choose 2nd column to the end. #106
    • csvtk round: fix bug of failing to round scientific notation with value small than one, e.g., 7.1E-1.

csvtk v0.21.0

Compare
Choose a tag to compare

Changes

  • csvtk v0.21.0 Github Releases (by Release)
    • new command: csvtk nrow/ncol for printing number of rows or columns.
    • new command: round to round float to n decimal places. #112
    • csvtk headers: file name and column index is optional outputted with new flag -v/--verbose.
    • csvtk dim: new flags --tabluar, --cols, --rows, -n/--no-files.
    • csvtk dim/ncol/nrow: can handle empty files now. #108
    • csvtk csv2json #104:
      • new flag -b/--blank: do not convert "", "na", "n/a", "none", "null", "." to null
      • new flag -n/--parse-num: parse numeric values for nth column(s), multiple values are supported and "a"/"all" for all columns.
    • csvtk xlsx2csv: fix output for ragged table. #110
    • csvtk join: fix bug for joining >2 files.
    • csvtk uniq: new flag -n/--keep-n for keeping first N records of every key.
    • csvtk cut: support repeatedly selecting columns. #106

csvtk v0.20.0

Compare
Choose a tag to compare

Changes

  • csvtk v0.20.0 Github Releases (by Release)
    • new command csvtk comb: compute combinations of items at every row.
    • new command csvtk sep: separate column into multiple columns. #96
    • csvtk:
      • list lines' number of illegal (-I) and empty (-E) rows. #97
      • new flag --infile-list for giving file of input files list (one file per line), if given, they are appended to files from cli arguments
    • csvtk join:
      • reenable flag -i/--ignore-case. #99
      • outer join is supported. #23
      • new flag -L/--left-join: left join, equals to -k/--keep-unmatched, exclusive with --outer-join
      • new flag -O/--outer-join: outer join, exclusive with --left-join
      • rename flag --fill to --na.
    • csvtk filter2: fix bug when column names start with digits, e.g., 1000g2015aug. Thank @VorontsovIE (#44)
    • csvtk concat: allow one input file. #98
    • csvtk mutate: new flag -R/--remove for removing input column.

csvtk v0.19.1

Compare
Choose a tag to compare

Changes

  • csvtk v0.19.1 Github Releases (by Release)
    • csvtk:
      • fix checking file existence.
      • show friendly error message when giving empty field like csvtk cut -f a, b.
    • csvtk summary: fix err of q1 and q3. #90
    • csvtk version: making checking update optional.

csvtk v0.19.0

Compare
Choose a tag to compare

Changes

  • csvtk v0.19.0 Github Releases (by Release)
    • new commands by @bsipos:
      • watch: online monitoring and histogram of selected field.
      • corr: calculate Pearson correlation between numeric columns.
      • cat: stream file and report progress.
    • csvtk split: fix bug of repeatedly output header line when number of output files exceed value of --buf-groups. #83
    • csvtk plot hist: new option --percentiles to add percentiles to histogram x label. #88

csvtk v0.18.2

Compare
Choose a tag to compare

Changes

  • csvtk v0.18.2 Github Releases (by Release)
    • csvtk replace/rename2/splitxlsx: fix flag conflicts with global flag -I since v0.18.0.
    • csvtk replace/rename2: removing shorthand flag -I for --key-capt-idx.
    • csvtk splitxlsx: changing shorthand flag of --sheet-index from -I to -N.

csvtk v0.18.1

Compare
Choose a tag to compare

Changes

  • csvtk v0.18.1 Github Releases (by Release)
    • csvtk sort: fix mutiple-key-sort containing natural order sorting. #79
    • csvtk xlsx2csv: reacts to global flags -t, -T, -D and -E. #78