Combining chocolates
While the combine() function shines the most when applied to different groups, you can still use it on normal DataFrames. Let's see how to use different functions on different columns!
The DataFrames and Statistics packages, and the chocolates dataset, have been loaded for you.
Это упражнение является частью курса
Data Manipulation in Julia
Инструкции к упражнению
- Using
combine(), find out the mean ofrating, the median ofcocoa, and the standard deviation ofREFusingstd.
Интерактивное практическое упражнение
Попробуйте выполнить это упражнение, дополнив этот пример кода.
# Compute mean of rating, median of cocoa, and std of REF
____(____, ____ => ____, ____ => ____, ____ => ____)