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.
This exercise is part of the course
Introduction to Julia
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Filter to where the sex is female
df_female = ____(____ -> ____ == "____", ____)