Using select()
The select() function is not only for selecting, you can use it to create new columns as well! In this exercise, you'll have a go at making changes to the wages DataFrame.
The wages dataset and the DataFrames and Statistics packages have been loaded for you.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Data Manipulation in Julia
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Select columns and rename the region column
____(____, ____, ____ => ____, ____"____")