Icon

10 Write Data to a File - Solution

Solution to an exercise for exporting data.

Aggregate data and write the results into a CSV file.

CHECK YOUR ANSWERS:
Women with income >50K are in average younger (42 years) than men with income >50K (45 years)











Exercise: Write Data to a File1) Read the adult_joined.table file by executing the Table Reader node2) Calculate the total number of rows and average age by gender and income class. Are womenwith income >50K in average older or younger than men with income >50K?3) Write the resulting table as a CSV file into the data folder The total number of rows and average ageRead data adult_joined.table Write the resultingtable as a CSV file GroupBy Table Reader CSV Writer Exercise: Write Data to a File1) Read the adult_joined.table file by executing the Table Reader node2) Calculate the total number of rows and average age by gender and income class. Are womenwith income >50K in average older or younger than men with income >50K?3) Write the resulting table as a CSV file into the data folder The total number of rows and average ageRead data adult_joined.table Write the resultingtable as a CSV file GroupBy Table Reader CSV Writer

Nodes

Extensions

Links