Demographic Data Analyzer
- Summary: A FreeCodeCamp challenge that analyzes a demographic CSV file with Python and Pandas.
- Source URL: https://replit.com/@michellemtchai/demographic-data-analyzer
- Stacks:
Objective
Complete a Python assignment and passes all the tests provided by FreeCodeCamp
Original Challenge: https://www.freecodecamp.org/learn/data-analysis-with-python/data-analysis-with-python-projects/demographic-data-analyzer
Assignment
In this challenge you must analyze demographic data using Pandas. You are given a dataset of demographic data that was extracted from the 1994 Census database.
You must use Pandas to answer the following questions:
- How many people of each race are represented in this dataset? This should be a Pandas series with race names as the index labels. (
racecolumn) - What is the average age of men?
- What is the percentage of people who have a Bachelor's degree?
- What percentage of people with advanced education (
Bachelors,Masters, orDoctorate) make more than 50K? - What percentage of people without advanced education make more than 50K?
- What is the minimum number of hours a person works per week?
- What percentage of the people who work the minimum number of hours per week have a salary of more than 50K?
- What country has the highest percentage of people that earn >50K and what is that percentage?
- Identify the most popular occupation for those who earn >50K in India.

