Exercise

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.

Instructions 1/2

undefined XP
    1
    2
  • Print the first line of the DataFrame.
  • Move the effective_min_wage_2020_dollars column so that it is after the region column, leaving remaining order of columns the same, rewriting the original DataFrame.