https://github.com/mrarvind90/fcc-demographic-data-analyzer
A Python program to analyze data from a 1994 census database from University of California, School of Information and Computer Science.
https://github.com/mrarvind90/fcc-demographic-data-analyzer
black freecodecamp freecodecamp-challenge freecodecamp-project pandas pandas-dataframe python python-3 python3 unittest unittests
Last synced: 2 months ago
JSON representation
A Python program to analyze data from a 1994 census database from University of California, School of Information and Computer Science.
- Host: GitHub
- URL: https://github.com/mrarvind90/fcc-demographic-data-analyzer
- Owner: mrarvind90
- License: mit
- Created: 2023-09-30T15:37:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-01T13:32:47.000Z (over 1 year ago)
- Last Synced: 2025-01-06T10:25:18.658Z (4 months ago)
- Topics: black, freecodecamp, freecodecamp-challenge, freecodecamp-project, pandas, pandas-dataframe, python, python-3, python3, unittest, unittests
- Language: Python
- Homepage:
- Size: 424 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.freecodecamp.org/)
A Python program to analyze data from a 1994 census database from University of California, School of Information and Computer Science.
## Technologies Used
- pandas## Features
Provides an answer for the following questions based on the 1994 census data
- How many people of each race are represented in this dataset? This should be a Pandas series with race names as the index labels. (race column)
- 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, or Doctorate) 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.## Prerequisites
Before you begin, ensure you have met the following requirements:- Python 3.10 or higher installed on your system. You can download Python from [python.org](https://www.python.org/downloads/).
- Poetry 1.6.1 installed on your system. You can install Poetry from [python-poetry.org](https://python-poetry.org/docs/#installation)## Installation and Setup
Follow these steps to install and set up Poetry for this project:1. **Install Poetry**:
Poetry is a Python package manager that simplifies dependency management and virtual environments. You can install Poetry by following their guide [here](https://python-poetry.org/docs/#installing-with-the-official-installer).
2. Clone the repository
```shell
git clone [email protected]:mrarvind90/fcc-demographic-data-analyzer.git
```
3. Change into the Project Directory
```shell
cd fcc-demographic-data-analyzer
```
4. Install Dependencies:
```shell
poetry install
```
5. Run the Project:
```shell
poetry run python3 main.py
```## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.## Code Style
We follow the black code style for this project. You can format your code using:
```shell
black .
```