开始使用免费开始使用

Dropping missing values

Dropping missing values is the simplest way of handling them. While it sometimes makes sense to replace them, other times it is better to drop them altogether. In this exercise, you'll be working with the wages dataset, which contains missing values in all columns. So let's drop them all! Or not…

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

本练习是课程的一部分

Data Manipulation in Julia

查看课程

交互式实操练习

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

println(size(wages))

# Drop all missing values
____

# Print describe and size functions
println(____)
println(____)
编辑并运行代码