Skip to main content
7 events
when toggle format what by license comment
Apr 15, 2018 at 16:26 comment added Henrik Schumacher Sjoerd, there is a function AssociationTranspose in the package GeneralUtilites doing the same: Needs["GeneralUtilities`"]; a = <|"a" -> <|1 -> "A", 2 -> "B"|>, "b" -> <|1 -> "C", 2 -> "D"|>|>; AssociationTranspose[a]; Transpose[Dataset[a]] == Dataset[AssociationTranspose[a]]. Overall, a look into GeneralUtilites may be very worthwhile, in particular for Association-related functions.
Apr 15, 2018 at 10:13 history edited Sjoerd Smit CC BY-SA 3.0
Change the definition of addColumnToDataset to make it work in 11.3
Apr 14, 2018 at 21:26 review Suggested edits
Apr 14, 2018 at 22:01
Apr 2, 2018 at 14:19 history edited Sjoerd Smit CC BY-SA 3.0
Add comment about how you can use part assignment
Apr 2, 2018 at 14:01 history edited Sjoerd Smit CC BY-SA 3.0
Remove `Normal` from addColumnToDataset since it's uncessecary
Dec 14, 2017 at 14:50 comment added Gustavo Delfino +1 for the tip about transposing datasets. Thanks.
Dec 14, 2017 at 13:54 history answered Sjoerd Smit CC BY-SA 3.0