Descriptive statistics
To get vital health data for tracking youth body mass index, health officials sent out a youth survey to a nationally representative sample of youths between 14 to 20 years of age as of December 31, 1999. The dataset tracks the age Age, height in inches Height_in, weight in pounds Weight_lbs, gender Gender, and the self reported multiple choice answer to the question, 'How would you describe your weight?' describe_weight.
The cleaned up dataset of the survey has been loaded for you as youth_survey_clean. In this exercise, you will describe the dataset using python.
pandas and NumPy have been loaded as pd and np, respectively.
Deze oefening maakt deel uit van de cursus
Analyzing Survey Data in Python
Oefeninstructies
- Generate descriptive statistics on the non-numerical columns of the survey dataset.
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Generate descriptive statistics on the non-numerical columns
print(____.____(____ = ____))