शुरू करेंमुफ़्त में शुरू करें

Separating into columns and rows

Remember the drink ingredients data from the video? You've been given a similar version (drink_df) that also includes quantities and units. Now you want to create an overview of how much of each ingredient you should buy to make these drinks.

The dplyr package has been pre-loaded for you.

यह अभ्यास पाठ्यक्रम का हिस्सा है

Reshaping Data with tidyr

पाठ्यक्रम देखें

इंटरैक्टिव व्यावहारिक अभ्यास

इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।

drink_df %>%
  # Separate the ingredients over rows
  ___
कोड संपादित करें और चलाएँ