เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

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.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Data Manipulation in Julia

ดูคอร์ส

คำแนะนำการฝึกหัด

  • Make a pivot table from the wages DataFrame, where:
    • column values correspond to state and region, in that order;
    • row values correspond to year;
    • actual values are given by the effective_min_wage_2020_dollars column.

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Make a pivot table  
____(____, [____], ____, ____)
แก้ไขและรันโค้ด