-
Hi I try to get an two dimensional tabular output from stats1 with the fields in the x-axis and the accumulators in the y-axis. I think this should be very likely possible, but probably I missed something in the docs or in the samples. What do I have to put at "..." to get the following output?
Thank you in advance - Niklaus |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
@nikbucher starting from
and running
You could use other miller verbs to reshape it. Running
you get
Then you can explode k
to get
And then reshape it againg long to wide
to get
|
Beta Was this translation helpful? Give feedback.
@nikbucher starting from
and running
mlr --icsv --opprint stats1 -f a,b -a min,mean,max,median,p90 input.csv
, the standard output has "wide" shape.And there is not another kind of output.