Skip to main content
7 events
when toggle format what by license comment
Feb 16, 2016 at 15:08 comment added gwr One might of course streamline formatLeaves as it may make sense to simply make the leaves Datasets. Also I find it quite annoying having to remember which functions accept #key& or Key["key"] or simply "key"- but hope for improvement never dies.
Feb 16, 2016 at 15:04 comment added gwr Interestingly in the updated version makeNested[ dataset, {"type", "subtype", "type", "subtype" } ] will crash Mathematica. So no mimicing with this one. :-/
Feb 16, 2016 at 15:00 history edited gwr CC BY-SA 3.0
Updated solution to drop unnecessary keys
Feb 15, 2016 at 17:51 history edited gwr CC BY-SA 3.0
show more output
Feb 15, 2016 at 15:06 comment added Kuba Nice, or even nicer: GroupBy[assoc, keylist, Apply[# &, #, {Length@keylist - 1}] &].
Feb 15, 2016 at 15:04 history edited gwr CC BY-SA 3.0
provided proof of concept
Feb 15, 2016 at 14:54 history answered gwr CC BY-SA 3.0