Timeline for Cases[data,Colon[key,_]] vs. Cases[data,key:_] toward XPath, XQuery
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:55 | history | edited | CommunityBot | replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/ | |
| Jul 11, 2012 at 19:58 | vote | accept | alancalvitti | ||
| Apr 4, 2012 at 21:51 | comment | added | Leonid Shifrin | @alancalvitti Yes, you just do this: destructure[dataR, {{row2, row1}, {key2, key1}}] | |
| Apr 4, 2012 at 21:22 | comment | added | alancalvitti | Thanks @LS. That's a great use of Fold. Is there a way to group values by level? That's the behavior of the ReplaceAll path query mechanism: {key2, key1} /. ({row2, row1} /. dataR) | |
| Apr 4, 2012 at 21:00 | history | edited | Leonid Shifrin | CC BY-SA 3.0 | added 12 characters in body |
| Apr 4, 2012 at 20:54 | history | answered | Leonid Shifrin | CC BY-SA 3.0 |