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.
Cet exercice fait partie du cours
Introduction to Julia
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Filter to where the sex is female
df_female = ____(____ -> ____ == "____", ____)