本文的起源來自於iThelp中網友的提問:
程式碼是我自已寫的。
GROUP | GOAT | TYPE | TIME | |
---|---|---|---|---|
0 | R | 15/10 | A/B | 2 |
1 | W | 10/7/11 | A/B/B | 3 |
2 | W | 9 | A | 2 |
3 | R | 12 | B | 2 |
4 | R | 8/13 | B/A | 3 |
5 | W | 10 | B | 2 |
GROUP | GOAT | TYPE | TIME | GOAT_sub | TYPE_sub | |
---|---|---|---|---|---|---|
0 | R | 15/10 | A/B | 2 | [15, 10] | [A, B] |
1 | W | 10/7/11 | A/B/B | 3 | [10, 7, 11] | [A, B, B] |
2 | W | 9 | A | 2 | [9] | [A] |
3 | R | 12 | B | 2 | [12] | [B] |
4 | R | 8/13 | B/A | 3 | [8, 13] | [B, A] |
5 | W | 10 | B | 2 | [10] | [B] |
9.0/10.0 12.0/6.3/9.9 7.2 12.0 12.0/11.7 6.0
['9.0/10.0', '12.0/6.3/9.9', '7.2', '12.0', '12.0/11.7', '6.0']
GROUP | GOAT | TYPE | TIME | RESULT | |
---|---|---|---|---|---|
0 | R | 15/10 | A/B | 2 | 9.0/10.0 |
1 | W | 10/7/11 | A/B/B | 3 | 12.0/6.3/9.9 |
2 | W | 9 | A | 2 | 7.2 |
3 | R | 12 | B | 2 | 12.0 |
4 | R | 8/13 | B/A | 3 | 12.0/11.7 |
5 | W | 10 | B | 2 | 6.0 |