Penguin characteristics
Can you distinguish between penguin species based only on different measurements? Let's employ grouped summary statistics to see how different the values for the species are!
The penguins dataset and the DataFrames package have been loaded for you.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Data Manipulation in Julia
คำแนะนำการฝึกหัด
- Create a GroupedDataFrame
penguin_speciesby groupingpenguinsby thespeciescolumn. - Calculate the median of the
flipper_length_mm,culmen_length_mm, andbody_mass_gcolumns.
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Create penguin_species
penguin_species = ____
# Calculate the median of columns
____(____, ____)