Aan de slagBegin gratis

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.

Deze oefening maakt deel uit van de cursus

Introduction to Julia

Bekijk cursus

Interactieve oefening met praktijkervaring

Probeer deze oefening door deze voorbeeldcode aan te vullen.

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

# Print the first 5 rows
println(df_byheart[____, ____])
Code bewerken en uitvoeren