IniziaInizia gratis

Reordering of wages

The US Minimum wages dataset contains a lot of columns, not necessarily in the best order. Now it's the time to change that! In this exercise, you'll reorder the columns of the wages DataFrame so that they make better sense, especially as some of the columns get omitted when we print the DataFrame. Are you ready to mix it up?

The wages dataset and the DataFrames package have been loaded for you.

Questo esercizio fa parte del corso

Data Manipulation in Julia

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Print the first line of wages
____(____(____))

# Move the effective_min_wage_2020_dollars column after the region column
____(____, ____, ____, ____, ____, ____)
Modifica ed esegui il codice