开始使用免费开始使用

Sorting patients

You are looking at the patient data again, and you have come to realize just how unruly it is. Let's bring some order to this data using the sort() function.

The patient data is available in your environment as df_patients.

本练习是课程的一部分

Introduction to Julia

查看课程

交互式实操练习

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

# Sort the data by heart rate
df_byheart = ____(____, _____)

# Print the first 5 rows
println(df_byheart[____, ____])
编辑并运行代码