1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Julia

Connected

Exercise

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.

Instructions 1/3

undefined XP
    1
    2
    3
  • Filter the DataFrame df_patients to rows where the value in the sex column is "female" and assign the result to the variable df_female.