Aan de slagGa gratis aan de slag

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

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

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

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