Description
Input data:
country | city | 1950 pop. | 1975 pop. | 2000 pop. |
---|---|---|---|---|
uk | london | 8361000 | 7124000 | 7273000 |
usa | ny | 12338000 | 15880000 | 17813000 |
japan | tokyo | 11275000 | 26615000 | 34450000 |
Reshaping wide to long, showing the difference between keeping only one column and keeping two columns, before the reshaping.
Go to the Run page and Run the data-flo to see the different outputs.
Inputs
Outputs
keeping city and country columns (
datatable
)keeping only city column (
datatable
)csv (
file
)csv 2 (
file
)