Suppose I have different functions: Total
, Mean
and Max
and the following Dataset
SeedRandom[0]
dataSet = Dataset[AssociationThread[{"a", "b", "c", "d"} -> #] & /@ RandomReal[4, {10, 4}]]
How can I do the following: apply Total
to column "b"
, Mean
to column "a"
and Max
to column "d"
, in that order without leaving the Dataset
i.e. no use of Normal
? So the result should be
{22.09, 2.383, 3.765}
Dataset
as it currently stands. $\endgroup$Dataset
. Every time, restarting the kernel solves the problem. $\endgroup$