Skip to content

Randomly appearing input value results duplicated headers in output file (force blank column output) #566

Answered by aborruso
shungabubus asked this question in Q&A
Discussion options

You must be logged in to vote

@shungabubus it should be this one

mlr --csvlite reshape -s Setup,Value then unsparsify input.csv

You don't have to use -i because you must do long to wide reshape. Then you must use unsparsify to normalize field names absent in a given record but present in others.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shungabubus
Comment options

Answer selected by shungabubus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants