Skip to content

stats1 with two dimensional tabular output #1312

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

You must be logged in to vote

@nikbucher starting from

a,b,c
1,1.2,3
2,3,4

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.

+-------+----------+-------+----------+-------+----------+----------+----------+----------+-------+
| a_min | a_mean   | a_max | a_median | a_p90 | b_min    | b_mean   | b_max    | b_median | b_p90 |
+-------+----------+-------+----------+-------+----------+----------+----------+----------+-------+
| 1     | 1.500000 | 2     | 2        | 2     | 1.200000 | 2.100000 | 3.000000 | 3        | 3     |
+-------+----------+-------+----------+-------+----------+----------+----------+-------…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@nikbucher
Comment options

@aborruso
Comment options

@nikbucher
Comment options

@johnkerl
Comment options

@nikbucher
Comment options

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