[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] table formula help...
From: |
Thierry Banel |
Subject: |
Re: [O] table formula help... |
Date: |
Tue, 09 Dec 2014 20:01:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Le 08/12/2014 19:02, Michael Brand a écrit :
> #+TBLNAME: original
> | Item | Value |
> |------+-------|
> | a2 | 1 |
> | a2 | 1 |
> | a0 | -1 |
> | a0 | 1 |
> | b2 | 2 |
> | b2 | |
> | b0 | 0 |
> | b0 | |
> | c | |
> | c | |
>
> #+BEGIN: aggregate :table original :cols "Item sum(Value) mean(Value)"
> | Item | sum(Value) | mean(Value) |
> |------+------------+-------------|
> | a2 | 2 | 1 |
> | a0 | | |
> | b2 | 2 | 1 |
> | b0 | | |
> | c | | |
> #+END
>
> Could you please add this example or something in the same sense to
> the unittests.org before any other change?
>
Done under the title "* Test zero output".
There is also a new "* Test empty inputs" were several empty input cases
are tested against all the available aggregations (sum, mean, max, corr,
and so on).
I will work on a new and clean design for handling empty inputs.
It shouldn't be so difficult after all.
Stay tuned.
Have fun
Thierry
- Re: [O] table formula help..., (continued)
- Re: [O] table formula help..., Eric Abrahamsen, 2014/12/07
- Re: [O] table formula help..., Michael Brand, 2014/12/07
- Re: [O] table formula help..., Thierry Banel, 2014/12/07
- Re: [O] table formula help..., Thierry Banel, 2014/12/07
- Re: [O] table formula help..., Michael Brand, 2014/12/08
- Re: [O] table formula help..., Thierry Banel, 2014/12/08
- Re: [O] table formula help..., Michael Brand, 2014/12/09
- Re: [O] table formula help..., Thierry Banel, 2014/12/09
- Re: [O] table formula help...,
Thierry Banel <=
- Re: [O] table formula help..., Thierry Banel, 2014/12/09
- Re: [O] table formula help..., Michael Brand, 2014/12/10
- Re: [O] table formula help..., Thierry Banel, 2014/12/10
- Re: [O] table formula help..., Michael Brand, 2014/12/12
- Re: [O] table formula help..., Thierry Banel, 2014/12/12
- Re: [O] table formula help..., Michael Brand, 2014/12/13