Icon

13_​Classic_​Aggregations_​with_​GroupBy_​Node

13_Classic_Aggregations_with_GroupBy_Node
Exercise GroupBy1) Read data adult.csv available in the "data" folder2) Calculate the total number of rows and average age for all women with income >50K3) Calculate the averages of all numerical columns for each one of the 4 groups defined bysex and income values4) Calculate - the number of missing values in the occupation column- the number of non-missing rows in the occupation column- the number of rows in the occupation column- the number of rows in the marital-status column Notice that the last two aggregations should provide the same numbers! Exercise GroupBy1) Read data adult.csv available in the "data" folder2) Calculate the total number of rows and average age for all women with income >50K3) Calculate the averages of all numerical columns for each one of the 4 groups defined bysex and income values4) Calculate - the number of missing values in the occupation column- the number of non-missing rows in the occupation column- the number of rows in the occupation column- the number of rows in the marital-status column Notice that the last two aggregations should provide the same numbers!

Nodes

  • No nodes found

Extensions

  • No modules found

Links