开始使用免费开始使用

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.

本练习是课程的一部分

Data Manipulation in Julia

查看课程

交互式实操练习

通过完成这段示例代码来试试这个练习。

# Drop the column sex
____(____, ____(____))
编辑并运行代码