### Calculating ALL nested level aggregations of specific Column ( SUM, AVG, STDEV) in dataframe

I have a table that looks like below (simplified): col_A col_B col_C A 37 2 B 28 7 C 10 5 D 11 5 E 99 4 I would like to get a table with all nested combinations of each level of col_A and calculate, say, an average within the subgroup: for example the choose-any-2…

Details