Timeline for GatherBy and two conditions
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 3, 2014 at 10:38 | history | edited | ciao | CC BY-SA 3.0 |
added 155 characters in body
|
Mar 3, 2014 at 10:35 | comment | added | ciao | @SimonWoods: That was my first though, but produces completely different result from what OP appears to want. However a join should do the trick... | |
Mar 3, 2014 at 10:31 | comment | added | Simon Woods |
You can gather into nested sublists using GatherBy[list, {#[[3]] == 6 &, Last}]
|
|
Mar 3, 2014 at 10:29 | vote | accept | wlq | ||
Mar 3, 2014 at 10:27 | comment | added | wlq | Thanks! This does exactly what I need. Thank you! | |
Mar 3, 2014 at 10:21 | history | answered | ciao | CC BY-SA 3.0 |