Merge two order files with the same header
Load “Two order files (120 + 80 rows)”, keep “All columns”, and leave the header switch on.
- 1q1-orders.csv has the header order_id,order_date,region,amount and 120 data rows.
- 2q2-orders.csv has the same header and 80 data rows, with order_id starting at 2001.
- 3Because the headers match, the files are concatenated: the header is written once, then every data row from Q1, then every data row from Q2.
- 4120 + 80 = 200 data rows. The merged file starts with the same header line.
Result: q1-orders_merged.csv with 200 data rows (120 from Q1, 80 from Q2) and four columns.