mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-21 02:23:20 +00:00
oosvar/emit example @ cover x 2
This commit is contained in:
parent
244a659cae
commit
df626f5ebb
3 changed files with 3 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ indices. Examples:
|
|||
% mlr put '$attr = sub($attr, "([0-9]+)_([0-9]+)_.*", "\1:\2")' data/*.json
|
||||
% mlr stats1 -a min,mean,max,p10,p50,p90 -f flag,u,v data/*
|
||||
% mlr stats2 -a linreg-pca -f u,v -g shape data/*
|
||||
% mlr put -q '@sum[$a][$b] += $x; end {emit @sum, "a", "b"}' data/*
|
||||
```
|
||||
|
||||
This is something the Unix toolkit always could have done, and arguably always
|
||||
|
|
|
|||
|
|
@ -6,3 +6,4 @@
|
|||
% mlr put '$attr = sub($attr, "([0-9]+)_([0-9]+)_.*", "\1:\2")' data/*.json
|
||||
% mlr stats1 -a min,mean,max,p10,p50,p90 -f flag,u,v data/*
|
||||
% mlr stats2 -a linreg-pca -f u,v -g shape data/*
|
||||
% mlr put -q '@sum[$a][$b] += $x; end {emit @sum, "a", "b"}' data/*
|
||||
|
|
|
|||
|
|
@ -158,6 +158,7 @@ positional indices. For example:
|
|||
% mlr put '$attr = sub($attr, "([0-9]+)_([0-9]+)_.*", "\1:\2")' data/*.json
|
||||
% mlr stats1 -a min,mean,max,p10,p50,p90 -f flag,u,v data/*
|
||||
% mlr stats2 -a linreg-pca -f u,v -g shape data/*
|
||||
% mlr put -q '@sum[$a][$b] += $x; end {emit @sum, "a", "b"}' data/*
|
||||
</pre>
|
||||
</div>
|
||||
<p/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue