Closed tetedange13 closed 4 weeks ago
Fixed.
csvtk summary --groups Lane -f ReadsPF:sum -f Reads:sum -f ClusterPF:first -f Density:first test.csv \
| csvtk pretty
Lane ReadsPF:sum Reads:sum ClusterPF:first Density:first
---- ----------- --------- --------------- -------------
1 88.96 99.86 89.08 231
2 88.96 100.22 88.76 232
3 87.82 98.46 89.19 228
4 87.74 98.96 88.67 229
Prerequisites
csvtk version
Describe your issue
csvtk summary
apply operations based on column order in file, rather than CLI-provided order$ csvtk csv2md test.csv
$ csvtk summary --groups Lane -f ReadsPF:sum -f Reads:sum -f ClusterPF:first -f Density:first test.csv | csvtk headers
Instead of expected (based on above command-line) :
Thank you
I'm grateful to users who have greatly helped to report bugs and suggested new features.
I may respond to issues or fix bugs quickly, but I usually implement new features periodically (two or more weeks).