mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-19 01:15:21 +00:00
remove-empty-columns regtest
This commit is contained in:
parent
ff657dd37b
commit
438b38af70
3 changed files with 11 additions and 0 deletions
|
|
@ -562,6 +562,12 @@ a,b,c
|
|||
4,,6
|
||||
,8,9
|
||||
|
||||
mlr --csv remove-empty-columns ./reg_test/input/remove-empty-columns.csv
|
||||
a,c,e
|
||||
1,3,5
|
||||
2,4,5
|
||||
3,5,7
|
||||
|
||||
|
||||
================================================================
|
||||
HEAD/TAIL/ETC.
|
||||
|
|
|
|||
4
c/reg_test/input/remove-empty-columns.csv
Normal file
4
c/reg_test/input/remove-empty-columns.csv
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
a,b,c,d,e
|
||||
1,,3,,5
|
||||
2,,4,,5
|
||||
3,,5,,7
|
||||
|
|
|
@ -235,6 +235,7 @@ run_mlr --opprint unsparsify $indir/abixy
|
|||
run_mlr --opprint unsparsify $indir/abixy-het
|
||||
|
||||
run_mlr --csv skip-trivial-records $indir/trivial-records.csv
|
||||
run_mlr --csv remove-empty-columns $indir/remove-empty-columns.csv
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
announce HEAD/TAIL/ETC.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue