Reshaping wages
You would like to look at the wages dataset in a different way. What about making a pivot table out of it? Let's see if the data would be easier to read.
The wages dataset and the DataFrames package have been loaded for you.
Deze oefening maakt deel uit van de cursus
Data Manipulation in Julia
Oefeninstructies
- Make a pivot table from the
wagesDataFrame, where:- column values correspond to
stateandregion, in that order; - row values correspond to
year; - actual values are given by the
effective_min_wage_2020_dollarscolumn.
- column values correspond to
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Make a pivot table
____(____, [____], ____, ____)