Icon

07 Join and Concatenate

05 Join and Concatenate
Exercise: Joiner1) Read the adult.csv, adult_education.table, and adult_income.xlsx files by executing the reader nodes2) Join the adult.csv data with the adult_education.table data. Use the ID column as the joining column. Useinner join. 3) Join the adult_income.xlsx data with the joined table. Apply the same settings. 4) What is the number of rows and columns in the first joined table? rows: 32,549; cols: 16And in the second? rows: 32,549; cols: 18Were any rows discarded in the joining operations? no Exercise: Concatenate1) Execute the Table Reader nodes below. The adult_joined.table file contains the records for all countriesbut Scotland. The records for Scotland are stored in a separate adult_scotland.table file.2) Concatenate the two tables into one3) Which column is missing in one of the tables? adult_scotland.table is missing the "ID" column.If you want to include this column in your concatenated table, do you select union or intersection of columns?You select "union of columns". Read dataadult_income.xlsxRead adult.csvRead adult_education.tableadult_joined.tableadult_scotland.tableinner joininner joinunion Excel Reader CSV Reader Table Reader Table Reader Table Reader Joiner Joiner Concatenate Exercise: Joiner1) Read the adult.csv, adult_education.table, and adult_income.xlsx files by executing the reader nodes2) Join the adult.csv data with the adult_education.table data. Use the ID column as the joining column. Useinner join. 3) Join the adult_income.xlsx data with the joined table. Apply the same settings. 4) What is the number of rows and columns in the first joined table? rows: 32,549; cols: 16And in the second? rows: 32,549; cols: 18Were any rows discarded in the joining operations? no Exercise: Concatenate1) Execute the Table Reader nodes below. The adult_joined.table file contains the records for all countriesbut Scotland. The records for Scotland are stored in a separate adult_scotland.table file.2) Concatenate the two tables into one3) Which column is missing in one of the tables? adult_scotland.table is missing the "ID" column.If you want to include this column in your concatenated table, do you select union or intersection of columns?You select "union of columns". Read dataadult_income.xlsxRead adult.csvRead adult_education.tableadult_joined.tableadult_scotland.tableinner joininner joinunion Excel Reader CSV Reader Table Reader Table Reader Table Reader Joiner Joiner Concatenate

Nodes

Extensions

Links