CommencerCommencer gratuitement

Penguin drop

There are many reasons why you might want to drop a column. One possibility can be when the data gets corrupted. This happened for the sex column of the penguins dataset! Your cat decided that your keyboard is the best place for an impromptu lunch-break nap, changing all the data in the sex column… Don't ask us how, you have a very smart and mischievous cat!

The penguins dataset and the DataFrames package have been loaded for you.

Cet exercice fait partie du cours

Data Manipulation in Julia

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Drop the column sex
____(____, ____(____))
Modifier et exécuter le code