Aan de slagGa gratis aan de slag

Filtered body temp

Now that you know how to filter data, you can dive deeper into the patient data and perform conditional data analysis.

You are working with the patient data again. You are interested in whether the patient's body temperature depends on their sex. You can use filtering to answer this question.

The patient DataFrame is available in your environment as df_patients. The Statistics package has been imported for you with the using keyword.

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.

# Filter to where the sex is female
df_female = ____(____ -> ____ == "____", ____)
Code bewerken en uitvoeren