1. Learn
  2. /
  3. Courses
  4. /
  5. Data Manipulation in Julia

Connected

Exercise

Decimals and delimiters

You have received a version of the chocolates dataset, but it doesn't look right. Can you figure out what is wrong and load the DataFrame correctly?

The DataFrames and CSV packages have been loaded for you.

Instructions 1/3

undefined XP
  • 1
    • Load the choc_dashed.csv file to choc DataFrame, specifying the delimiter as -.
  • 2
    • Load choc_dataset.csv using CSV.File() again, this time without any keywords, storing as a DataFrame called choc.
    • Describe the choc DataFrame and print the results.
  • 3
    • Recreate the choc DataFrame using an appropriate keyword so that the rating column's values are stored as floats.