Opposite of pivot? #2414
Replies: 3 comments 1 reply
-
I doubt this can be done with qsv (unless @jqnatividad has a solution). If this can't be done with qsv, there is a AWK solution (for GAWK 5.3 or later with native CSV RFC 4180 support): command: unpivot.awk:
result:
The result is printed as wished, but you might want to check if I have correctly understood the logic. |
Beta Was this translation helpful? Give feedback.
-
Since there is an off-topic response, I will add one as well :) In miller you have the reshape verb:
And you get
|
Beta Was this translation helpful? Give feedback.
-
I do want to create I'll do it the same time I switch |
Beta Was this translation helpful? Give feedback.
-
I can’t seem to be able to find how to transform
with values in column A guaranteed to be unique and B, C, D being possibly empty to
the last row may not be present as the E cell would be empty, but I don’t mind.
I am not averse to
RTFM
so a pointer will do :-)-OBeta Was this translation helpful? Give feedback.
All reactions